Records & pattern matching

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


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", _}?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list