mirror of
https://github.com/valitydev/parse_trans.git
synced 2024-11-06 00:25:16 +00:00
14 lines
255 B
Erlang
14 lines
255 B
Erlang
-module(ex_gen_module).
|
|
-compile(export_all).
|
|
|
|
-compile({parse_transform, parse_trans_codegen}).
|
|
|
|
f() ->
|
|
codegen:gen_module(test, [{render,0}, {source, 0}],
|
|
[
|
|
{render, fun() ->
|
|
x end},
|
|
{source, fun() ->
|
|
ok end}
|
|
]).
|