DOKK / manpages / debian 10 / erlang-manpages / merl_transform.3erl.en
merl_transform(3erl) Erlang Module Definition merl_transform(3erl)

merl_transform - Parse transform for merl.

Parse transform for merl. Enables the use of automatic metavariables and using quasi-quotes in matches and case switches. Also optimizes calls to functions in merl by partially evaluating them, turning strings to templates, etc., at compile-time.

Using -include_lib("syntax_tools/include/merl.hrl"). enables this transform, unless the macro MERL_NO_TRANSFORM is defined first.

parse_transform(Forms, Options) -> term()

Richard Carlsson <carlsson.richard@gmail.com>

syntax_tools 2.1.6