aboutsummaryrefslogtreecommitdiff
path: root/miniMAL/env.json
diff options
context:
space:
mode:
Diffstat (limited to 'miniMAL/env.json')
-rw-r--r--miniMAL/env.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/miniMAL/env.json b/miniMAL/env.json
index 30ab952..0dfa67b 100644
--- a/miniMAL/env.json
+++ b/miniMAL/env.json
@@ -7,7 +7,7 @@
["get", ["first", "b"], ["`", "val"]]],
["assoc!", "env", ["get", ["nth", "b", 1], ["`", "val"]], "e"],
["env-bind", ["assoc!", "env", ["get", ["first", "b"], ["`", "val"]],
- ["get", ["first", "e"], ["`", "val"]]],
+ ["first", "e"]],
["rest", "b"],
["rest", "e"]]]]]],
@@ -15,7 +15,7 @@
["let", ["env", ["hash-map", ["`", "__outer__"], ["first", "args"]]],
["if", ["<=", ["count", "args"], 1],
"env",
- ["bind-env", "env", ["get", "args", 1], ["get", "args", 2]]]]]],
+ ["env-bind", "env", ["get", "args", 1], ["get", "args", 2]]]]]],
["def", "env-find", ["fn", ["env", "key"],
["let", ["k", ["get", "key", ["`", "val"]]],