From 831deca96283d0f680d1852823111dc991526009 Mon Sep 17 00:00:00 2001 From: Evan Hanson Date: Tue, 23 Feb 2016 12:37:24 +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 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chicken.scm b/chicken.scm index 7822838..c1e4a10 100644 --- a/chicken.scm +++ b/chicken.scm @@ -27,9 +27,10 @@ (declare (uses chicken-syntax chicken-ffi-syntax - srfi-1 srfi-4 utils files extras data-structures support - compiler optimizer lfa2 compiler-syntax scrutinizer driver platform backend - srfi-69)) + srfi-1 srfi-4 utils files extras data-structures srfi-69 + lolevel ; unused, but loaded to make foldable bindings available + support compiler optimizer lfa2 compiler-syntax scrutinizer + driver platform backend)) (include "compiler-namespace") -- 2.7.0.rc3