hy/tests/resources/bin/circular_macro_require.hy

9 lines
160 B
Hy
Raw Permalink Normal View History

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