[erlang-questions] Help with tuple pattern match?

Doug Edmunds <>
Wed Jun 18 21:25:39 CEST 2008

Also count the braces.  You need an equal number of left {'s and
right }'s, regardless of the underlying structure of tuple.


   {person,_,{name,_{first,_{last ,_}},{footsize,_}=Person.

has 5 left but only 3 right.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080618/3fdb4af4/attachment.html>

More information about the erlang-questions mailing list