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

Parnell Springmeyer <>
Thu Jun 23 05:19:22 CEST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Read some of the popular Erlang libraries being written - I study code
all the time; I generally find the code to be better documentation about
how to do something than the documentation itself, too.

Read code - that's how you will acculturate yourself :)

Sid Carter <> writes:

> 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 ->
> http://www.erlang-factory.com/upload/presentations/347/Kostis.pdf
>
> I suppose that's a good start on modern Erlang. Are there more? :)
>
> Sid
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>

- -- 
Parnell "ixmatus" Springmeyer (http://ixmat.us)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQEcBAEBAgAGBQJOArC6AAoJEPvtlbpI1POLVdsH/34uAO3LCB0EhceRBbU5DieW
MMbm4Fqg1q6JYD/r1x+ognCRs88ZvKBmLHFn/ZotlFSJCGWiWKWq3PIzEZp/x+XI
HEZ4utJsGjQAQoGXKUvIW/argrSEw62svX7yvPA2dIy4einNH1SF5k3sdDHhDeTu
4z7y74JCuJgAbZG227H/wwK96oKmTpTxcFdrIL4HhvvFnAMVFnsT1PyLZRLi5Dwj
l0jk3xpeMAtn0g+wqDROkufdfAVobcTGbLbrNCwY/2VbXNKaDhbODCqLYitko09Q
obGSktoVvuiO0l6/ljWryD49aURHZgLpLvIr67a/7gVDl4GeXB6gbtce9BGY0lE=
=93AZ
-----END PGP SIGNATURE-----



More information about the erlang-questions mailing list