aboutsummaryrefslogtreecommitdiff
path: root/miniMAL/types.json
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-02-25 23:01:16 -0600
committerJoel Martin <github@martintribe.org>2015-02-25 23:01:16 -0600
commit3fb3743ff483cd1e4612d87557eecc62817b10b2 (patch)
tree6da27695b27567362b4c01dc80679d7c78380519 /miniMAL/types.json
parentbf8237d5ee3f1cbb3a3a7eb9d5094720361c46bf (diff)
downloadmal-3fb3743ff483cd1e4612d87557eecc62817b10b2.tar.gz
mal-3fb3743ff483cd1e4612d87557eecc62817b10b2.zip
miniMAL: add classOf and fix printing.
Diffstat (limited to 'miniMAL/types.json')
-rw-r--r--miniMAL/types.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/miniMAL/types.json b/miniMAL/types.json
index f67683e..372dff9 100644
--- a/miniMAL/types.json
+++ b/miniMAL/types.json
@@ -75,7 +75,7 @@
["str", ["`", "\u029e"], "name"]]],
["def", "keyword?", ["fn", ["kw"],
- ["and", ["=", ["`", "string"], ["type", "kw"]],
+ ["and", ["=", ["`", "[object String]"], ["classOf", "kw"]],
["=", ["`", "\u029e"], ["get", "kw", 0]]]]],