[erlang-questions] Pattern-matching function?
Thu Oct 30 16:17:58 CET 2008
Well of course I would use LFE, but otherwise I agree. :-) And define a
macro defining macro.
Seriously though, using macros or parse_transforms is the only way to get
around the problem of not having patterns or variables as real "things".
2008/10/30 mats cronqvist <>
> "Robert Virding" <> writes:
> > One solution is to use macros as a wrapper around a fun.
> Some people, when confronted with a problem, think
> "I know, I'll use a macro."
> Now they have two problems.
> with apologies to jwz.
> p.s. unless you're coding in lisp, of course.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions