aboutsummaryrefslogtreecommitdiff
path: root/miniMAL/types.json
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-12 01:11:50 -0600
committerJoel Martin <github@martintribe.org>2015-02-24 09:17:42 -0600
commit7ebf5219e1be21ed10cecabda8262c77da7465ae (patch)
tree46b5e720d32f8491e859936348f96356b2bae19b /miniMAL/types.json
parentdefc6335a611fcb78bc33fe6f3b074a2d88aa54c (diff)
downloadmal-7ebf5219e1be21ed10cecabda8262c77da7465ae.tar.gz
mal-7ebf5219e1be21ed10cecabda8262c77da7465ae.zip
miniMAL: add step4 (without functions).
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
]