aboutsummaryrefslogtreecommitdiff
path: root/eval.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eval.cpp')
-rw-r--r--eval.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/eval.cpp b/eval.cpp
index 323c4c9..369a150 100644
--- a/eval.cpp
+++ b/eval.cpp
@@ -35,6 +35,10 @@ void Evaluator::add_builtin_routines() {
ADD_BUILTIN_PROC("exact?", num_is_exact);
ADD_BUILTIN_PROC("inexact?", num_is_inexact);
ADD_BUILTIN_PROC("number?", is_number);
+ ADD_BUILTIN_PROC("complex?", is_complex);
+ ADD_BUILTIN_PROC("real?", is_real);
+ ADD_BUILTIN_PROC("rational?", is_rational);
+ ADD_BUILTIN_PROC("integer?", is_integer);
ADD_BUILTIN_PROC("not", bool_not);
ADD_BUILTIN_PROC("boolean?", is_boolean);