Merge pull request #406 from chr15m/lib-alias-hacks
[jackhill/mal.git] / process / step8_macros.txt
index 29f5bdf..b84b73a 100644 (file)
@@ -22,6 +22,7 @@ EVAL(ast,env):
 
     ast = macroexpand(ast, env)
     if not list?(ast): return eval_ast(ast, env)
+    if empty?(ast): return ast
 
     switch ast[0]:
       'def!:        return env.set(ast[1], EVAL(ast[2], env))