[erlang-questions] What is wrong with this list?

Lone Wolf <>
Tue Sep 4 19:42:28 CEST 2007


Hi.
I have been trying this statement:
2> [java | python] = [1, 2, 3, 4, 5, 6].
But I got the following error:
=ERROR REPORT==== 4-Sep-2007::17:45:07 ===
Error in process <0.33.0> with exit value: {{badmatch,[1,2,3,4,5,6]},[{erl_eval,
expr,3}]}
Why?
How to read Erlang errors? they are really obfuscated.
Thank.

    Deep into that darkness peering, long I stood there, wondering, fearing, Doubting, dreaming dreams no mortal ever dreamed before.
  E.A Poe
  
   



       
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20070904/91b7d333/attachment.html>


More information about the erlang-questions mailing list