[erlang-questions] Practical Erlang Programming

fess fess-erlang@REDACTED
Fri Feb 22 21:20:26 CET 2008


On Feb 22, 2008, at 12:02 PM, Kostis Sagonas wrote:

> fess wrote:
>> that [ $m,$a,$t,$c,$h | Tail ] is the same as [ "match" | Tail ]
>> which is so much nicer.
>
> It's actually good that you missed this in Joe's book because it is  
> not the same...
>
> Instead,  [ $m,$a,$t,$c,$h | Tail ]  is the same as  "match" ++ Tail

haha,  I can't believe I wrote that that way,   thanks for the  
correction,
that's what I meant.

Yes,  I have made deeplists when I didn't want to.  that's another  
gotcha.

--fess







More information about the erlang-questions mailing list