[erlang-questions] Beginner: What's wrong with this code?
Sid Carter
sidcarter@REDACTED
Wed Jun 22 22:12:44 CEST 2011
On Thursday, 23 June 2011 at 12:32 AM, Kostis Sagonas wrote:
> Sid Carter wrote:
> > I get the following error:
> >
> > Error in process <0.49.0> with exit value:
> > {undef,[{first,format_temps,[{moscow,{f,-40}},{bangalore,{f,40}},{wellington,{c,24}}]}]}
> >
> > What's wrong? spawn(fun () ->
> format_temps([{moscow,{f,-40}},
> {bangalore,{f,40}},
> {wellington, {c,24}}])
> end)
Thank you for this. Is there any place where I can find more about how to write in Modern Erlang. I am currently reading the "Getting Started with Erlang User's Guide" and O'Reilly's "Erlang Programming".
Sid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110623/c1fdedd0/attachment.htm>
More information about the erlang-questions
mailing list