-
Notifications
You must be signed in to change notification settings - Fork 0
lux.macro
StephenBDT edited this page Aug 12, 2017
·
1 revision
## Performs a macro-expansion and logs the resulting ASTs.
## You can either use the resulting ASTs, or omit them.
## By omitting them, this macro produces nothing (just like the lux;comment macro).
(
expand (def: (foo bar baz)
(-> Int Int Int)
(i.+ bar baz)))
## Performs a macro-expansion and logs the resulting ASTs.
## You can either use the resulting ASTs, or omit them.
## By omitting them, this macro produces nothing (just like the lux;comment macro).
(
expand-all (def: (foo bar baz)
(-> Int Int Int)
(i.+ bar baz)))
## Performs a macro-expansion and logs the resulting ASTs.
## You can either use the resulting ASTs, or omit them.
## By omitting them, this macro produces nothing (just like the lux;comment macro).
(
expand-once (def: (foo bar baz)
(-> Int Int Int)
(i.+ bar baz)))