Pattern matching: Skipping the rest of a tuple

Joel Reymont <>
Thu Dec 29 02:26:45 CET 2005


Thank you Sean, it's indeed that simple!

On Dec 29, 2005, at 12:33 AM, Sean Hinde wrote:

> Isn't this as simple as:
>
> match(#record1{b=20}) ->
> match(#record2{a=30}) ->

--
http://wagerlabs.com/








More information about the erlang-questions mailing list