newbie questions about dict.
Michael C Williams
mike@REDACTED
Fri Apr 16 21:29:09 CEST 1999
Try:
A = dict:new().
words starting with small letters are atoms. Variable start with
capital letters.
/Mike
On Fri, 16 Apr 1999, Vladimir Ulogov wrote:
> Hello people.
>
> Digging in Erlang, I'd catch strange (for newbie) things:
> 7> dict:new().
> []
> 8> a=dict:new().
> ** exited: {{badmatch,[]},{erl_eval,expr,3}} **
> 9>
>
> Can you tell to me, what I'd miss.
>
> --
> =======================================================
> Vladimir I. Ulogov (gandalf@REDACTED)
> tel: 973-236-6464 or 6463
> fax: 973-236-2090
> "Where lands meets water. Where earth meets air. Where body meets
> mind. Where space meets time. We like to be on one side, and look
> at the other." D.Adams "Mostly harmless"
>
>
More information about the erlang-questions
mailing list