<div dir="ltr">On Wed, Sep 24, 2008 at 3:14 PM, Maxim Treskin <span dir="ltr"><<a href="mailto:zerthurd@gmail.com">zerthurd@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br>
<br>
Is it possible to stringify macros argument in erlang? In cpp we have<br>
#EXPR which replaces with string value of EXPR. I wrote something like<br>
this using parse_transform, but it is ugly, requires too much<br>
workarounds for works in every place in code and almost not works :)<br></blockquote><div><br>Yes, see:<br><br><a href="http://www.erlang.org/doc/reference_manual/macros.html#7.5">http://www.erlang.org/doc/reference_manual/macros.html#7.5</a><br>
<br>/Bjorn<br></div></div><br>-- <br>Björn Gustavsson, Erlang/OTP, Ericsson AB<br>
</div>