Records & pattern matching

Jérémie Lumbroso jeremie@REDACTED
Mon Apr 17 04:19:49 CEST 2006


Hello,

I am trying to do a regular pattern matching using the #record{name = "Me",
_='_'} construct to do regular pattern matching. But it does not seem to
work as expected (I am not using the match_object method of anything). Am I
obligated to explicitly define my tuplet for the pattern matching,
i.e. do {record,
_, _, _, "Me", _}?

Regards,

Jérémie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060417/ae865015/attachment.htm>


More information about the erlang-questions mailing list