5e03be17ad
The `unless` macro's expansion was updated to use `...` (NOP) instead of `void`. This change also involved removing the `void` keyword from the parser, as it is no longer used.
9 lines
191 B
Plaintext
9 lines
191 B
Plaintext
;; Benchmark: 100ns
|
|
;; Classic "unless" macro example
|
|
;; Demonstrates simple template substitution.
|
|
;; Output: 42
|
|
|
|
(do
|
|
(macro unless [c b] `(if ~c ... ~b))
|
|
(unless false 42))
|