aboutsummaryrefslogtreecommitdiff
path: root/miniMAL/types.json
diff options
context:
space:
mode:
Diffstat (limited to 'miniMAL/types.json')
-rw-r--r--miniMAL/types.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/miniMAL/types.json b/miniMAL/types.json
index 2f4d264..37cc50e 100644
--- a/miniMAL/types.json
+++ b/miniMAL/types.json
@@ -5,9 +5,11 @@
["`", "val"], "name"]]],
["def", "symbol?", ["fn", ["obj"],
- ["if", ["=", ["`", "Symbol"], ["get", "obj", ["`", "type"]]],
- true,
- false]]],
+ ["if", ["=", "obj", null],
+ false,
+ ["if", ["=", ["`", "Symbol"], ["get", "obj", ["`", "type"]]],
+ true,
+ false]]]],
null
]