[erlang-questions] Why does this happen?

t ty <>
Sun Jun 3 05:24:17 CEST 2007

I can cut the example down to:

Erlang (BEAM) emulator version 5.5.4 [source] [async-threads:0] [hipe]

Eshell V5.5.4  (abort with ^G)
1> import(lists).
2> Y = fun(Z) -> Z*Z end.

=ERROR REPORT==== 2-Jun-2007::23:22:30 ===
Error in process <0.31.0> with exit value:

** exited: {badarg,[{erlang,atom_to_list,[{module,lists}]},
                    {lists,foldl,3}]} **

uname -a is

Linux localhost 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007
i686 GNU/Linux



More information about the erlang-questions mailing list