HCoop
/
jackhill
/
mal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #380 from bjh21/bjh21-bbc-basic
[jackhill/mal.git]
/
io
/
step3_env.io
diff --git
a/io/step3_env.io
b/io/step3_env.io
index
b7d0683
..
c8d0c07
100644
(file)
--- a/
io/step3_env.io
+++ b/
io/step3_env.io
@@
-21,6
+21,7
@@
eval_ast := method(ast, env,
EVAL := method(ast, env,
if(ast type != "MalList", return(eval_ast(ast, env)))
+ if(ast isEmpty, return ast)
if(ast at(0) type == "MalSymbol",
ast at(0) val switch(
"def!",