diff --git a/test.py b/test.py index b290cd6..7749e62 100644 --- a/test.py +++ b/test.py @@ -5,7 +5,10 @@ from hy.lex.tokenize import tokenize m = forge_module( 'test', 'test.hy', - tokenize('(def two (fn [] (print (+ 1 1))))') + tokenize('(def two (fn [] (print (+ 1 1))))(def x 1)') ) print m.two +m.two() + +print m.x