From 3fb3743ff483cd1e4612d87557eecc62817b10b2 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Wed, 25 Feb 2015 23:01:16 -0600 Subject: miniMAL: add classOf and fix printing. --- miniMAL/types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miniMAL/types.json') 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]]]]], -- cgit v1.2.3