Files
RustAst/examples/macro_unless.myc
T

10 lines
217 B
Plaintext

;; Benchmark: 55ns
;; Benchmark-Repeat: 36062
;; Classic "unless" macro example
;; Demonstrates simple template substitution.
;; Output: 42
(do
(macro unless [c b] `(if ~c ... ~b))
(unless false 42))