Module attributes

Bjorn Gustavsson <>
Mon Sep 19 14:55:00 CEST 2005


"Vlad Dumitrescu XX (LN/EAB)" <> writes:

> > -----Original Message-----
> > From: 
> > [mailto:]On Behalf Of Bjorn 
> > Gustavsson
> > > Shouldn't clause 4.2 say that a Module Attribute is -Tag(BasicTerm)
> > > where BasicTerm is an integer, real number, atom or string?
> > > 
> > 
> > List, tuples, and literal strings are also allowed.
> 
> Hi,
> 
> Any reason why literal binaries shouldn't be allowed too?
> 

I was unclear in my answer. Actually, we allow literal binaries too,
but they used to crash the compiler in a later pass. Literal binaries
will work in R10B-7.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list