Package support in Erlang: Status ?

david wallin david.wallin@REDACTED
Thu May 22 18:25:26 CEST 2003




On Tuesday, April 22, 2003, at 12:45 PM, Richard Carlsson wrote:

>
> On Sun, 20 Apr 2003, Wiger Ulf wrote:
>
>> I have also privately suggested that Erlang allow "dotted atoms" (that
>> is, without single quotes) in other places as well, e.g. in registered
>> names, ets tables, etc. This would make package support feel a little
>> less like an afterthought, and more like an integrated part of the
>> language.
>
> You mean like this?:
>
> 	1> register(self(), fee.fie.foo).
> 	ok
> 	2> whereis(fee.fie.foo).
> 	<0.31.0>
>
> It's already there, if you try it. If you find some example of where it
> does not work, please report it to me.
>

Richard,

How about this, do a file:consult/1 on a file containing :

{abba_a,a}.
{abba.b,b}.

This results in an error : '{error,{1,erl_parse,"bad term"}}'


cheers,

--david.




More information about the erlang-questions mailing list