[erlang-questions] Beginner: What's wrong with this code?

Sid Carter <>
Thu Jun 23 01:25:34 CEST 2011

On 23 June 2011 00:32, Kostis Sagonas <> wrote:
> Others have already explained the problem and suggested a fix for it. But
> these kinds of errors (forgetting one set of list brackets) are very common.
> They can easily be avoided if one writes in more modern Erlang rather than
> in Erlang of 10 years ago. In this particular case, you can use a spawn with
> a fun that makes the call to function format_temps/1 clear:

And while searching, I found this ->

I suppose that's a good start on modern Erlang. Are there more? :)


More information about the erlang-questions mailing list