[erlang-questions] Can't pass a record to a macro?

Tony Arcieri tony@REDACTED
Sun Jan 10 00:48:22 CET 2010


On Sat, Jan 9, 2010 at 2:29 PM, Zoltan Lajos Kis <kiszl@REDACTED> wrote:

> You need to use parentheses:
>
> -define(foo(Bar), (Bar)#bar.baz).
>

Whoops, my bad.  Figured it'd be something silly.

-- 
Tony Arcieri
Medioh! A Kudelski Brand


More information about the erlang-questions mailing list