summaryrefslogtreecommitdiff
path: root/Compiler.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Compiler.hs')
-rw-r--r--Compiler.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Compiler.hs b/Compiler.hs
index 70a35ae..59b82af 100644
--- a/Compiler.hs
+++ b/Compiler.hs
@@ -90,7 +90,9 @@ builtinSet = Set.fromList [
"list", "cons", "car", "cdr", "null?",
"sys-open-file", "sys-close-file", "sys-get-char", "sys-put-string", "sys-flush",
"sys-stdin", "sys-stdout", "sys-stderr",
- "length", "substr", "ord", "chr", "concat"]
+ "length", "substr", "ord", "chr", "concat",
+ "type-list?", "type-number?", "type-string?", "type-quoted?", "type-symbol?",
+ "error"]
bbId :: BB -> Int
bbId (BB i _ _) = i