[erlang-questions] Silly question: if vs pattern matching

Joel Reymont <>
Mon Feb 5 23:57:40 CET 2007


On Feb 5, 2007, at 10:48 PM, Matthias Lang wrote:

> How about just writing
>
>   Tree2 = lists:flatten([Tree1]),

Ugh... I would have never thought of that :-).

Thanks Matthias!

--
http://wagerlabs.com/








More information about the erlang-questions mailing list