[erlang-questions] Stringification in erlang macros

Richard Carlsson richardc@REDACTED
Wed Sep 24 15:39:08 CEST 2008


Maxim Treskin wrote:
> Is it possible to stringify macros argument in erlang?

??Foo stringifies the macro argument Foo. See the eunit.hrl
file for examples of writing assertion macros:

http://svn.process-one.net/contribs/trunk/eunit/include/eunit.hrl

(or simply use eunit, even if it is just for the macros).

    /Richard



More information about the erlang-questions mailing list