From bfcd2e0679ea446506056932c996a83ddcbde406 Mon Sep 17 00:00:00 2001 From: Evan Hanson Date: Tue, 23 Feb 2016 13:11:42 +1300 Subject: [PATCH] Load lolevel in compiler so that foldable bindings are present This ensures that all identifiers that are subject to constant folding are bound to procedures in the compiler so that `constant-form-eval` will work correctly. Note that the data-structures, extras, and srfi-4 units also contain foldable bindings, but these are already used by the compiler so they don't need to be added. --- chicken.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chicken.scm b/chicken.scm index 08a107b..386d957 100644 --- a/chicken.scm +++ b/chicken.scm @@ -27,8 +27,9 @@ (declare (uses chicken-syntax chicken-ffi-syntax - srfi-4 utils extras data-structures support - compiler optimizer lfa2 compiler-syntax scrutinizer + srfi-4 utils extras data-structures + lolevel ; unused, but loaded to make foldable bindings available + support compiler optimizer lfa2 compiler-syntax scrutinizer ;; TODO: These three need to be made configurable somehow batch-driver c-platform c-backend)) -- 2.7.0.rc3