aboutsummaryrefslogtreecommitdiff
path: root/miniMAL/types.json
diff options
context:
space:
mode:
Diffstat (limited to 'miniMAL/types.json')
-rw-r--r--miniMAL/types.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/miniMAL/types.json b/miniMAL/types.json
index 2e85775..2af650d 100644
--- a/miniMAL/types.json
+++ b/miniMAL/types.json
@@ -14,7 +14,9 @@
["if", ["list?", "b"],
["_cmp_seqs", "a", "b"],
false],
- ["=", "a", "b"]]]],
+ ["if", ["symbol?", "a"],
+ ["=", ["get", "a", ["`", "val"]], ["get", "b", ["`", "val"]]],
+ ["=", "a", "b"]]]]],
["def", "symbol", ["fn", ["name"],
["hash-map", ["`", "type"], ["`", "Symbol"],