~ chicken-core (chicken-5) ed47df6be6550665506cf775ad6da6a6d4d67901


commit ed47df6be6550665506cf775ad6da6a6d4d67901
Author:     Peter Bex <peter@more-magic.net>
AuthorDate: Sun Mar 11 19:13:57 2018 +0100
Commit:     Evan Hanson <evhan@foldling.org>
CommitDate: Mon Mar 12 14:04:33 2018 +1300

    Move "eval" from r4rs to r5rs
    
    Signed-off-by: Evan Hanson <evhan@foldling.org>

diff --git a/NEWS b/NEWS
index ceda95b7..9d254a5a 100644
--- a/NEWS
+++ b/NEWS
@@ -82,6 +82,7 @@
     `move-file', for consistency with `delete-file' and `rename-file'.
   - `rename-file' now refuses to overwrite an existing file unless an
     optional "clobber" argument is provided.
+  - The `r4rs` module no longer exports `eval`, which was not in R4RS.
 
 - Module system
   - The compiler has been modularised, for improved namespacing.  This
diff --git a/modules.scm b/modules.scm
index 2d72e36f..26cd8d46 100644
--- a/modules.scm
+++ b/modules.scm
@@ -1020,7 +1020,7 @@
 	 (eof-object? . scheme#eof-object?)
 	 (with-input-from-file . scheme#with-input-from-file)
 	 (with-output-to-file . scheme#with-output-to-file)
-	 (eval . scheme#eval) (char-ready? . scheme#char-ready?)
+	 (char-ready? . scheme#char-ready?)
 	 (imag-part . scheme#imag-part) (real-part . scheme#real-part)
 	 (make-rectangular . scheme#make-rectangular)
 	 (make-polar . scheme#make-polar)
@@ -1035,6 +1035,7 @@
   (##sys#register-core-module
    'scheme 'library
    (append '((dynamic-wind . scheme#dynamic-wind)
+	     (eval . scheme#eval)
 	     (values . scheme#values)
 	     (call-with-values . scheme#call-with-values))
 	   r4rs-values)
Trap