[erlang-questions] Pattern Matching Question

mog mogorman@REDACTED
Fri Nov 23 21:05:09 CET 2007


you could do 
   days_in(jan, _all) ->    31 ;

as anything _whatever isnt used so you could label anything you want.

mog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071123/c1bfd762/attachment.bin>


More information about the erlang-questions mailing list