hy/tests/resources/bin/circular_macro_require.hy
2018-11-08 22:57:17 -06:00

9 lines
160 B
Hy

(defmacro bar [expr]
`(print ~expr))
(defmacro foo [expr]
`(do (require [tests.resources.bin.circular-macro-require [bar]])
(bar ~expr)))
(foo 42)