error in merl docs?

Karlo Kuna
Sun Jul 26 19:55:15 CEST 2020

hi Led,

this seems to be only true if the pare_transform module is disabled or if
the expression is a literal one. in the more general case parse
transform further expands expression to the merl:qquote/3 and introduces
the environment into the expression. at least that is my understanding. if
i'm correct i believe that referencing merl:qquote/3 would be correct as
well (or more intuitive).

On Sun, Jul 26, 2020 at 6:07 PM Led <ledest@REDACTED> wrote:

> in the documentation of merl:quote/2 it says "The macro ?Q(Text) expands
> to merl:quote(?LINE, Text, Env). "
>> should this reference merl:qquote/3 instead of merl:quote/3  which to my
>> knowledge does not exist?
> merl.hrl:
> ...
> -define(Q(Text), merl:quote(?LINE, Text)).
> ...
> --
> Led.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the erlang-questions mailing list