Add install-r7rs!, like install-r6rs!
authorAndy Wingo <wingo@pobox.com>
Sat, 16 Nov 2019 13:32:51 +0000 (14:32 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 16 Nov 2019 20:09:51 +0000 (21:09 +0100)
* module/ice-9/boot-9.scm (install-r7rs!): New function.

module/ice-9/boot-9.scm

index 4b25674551a3f437640fa94fb1e5dcbbff8c8727..2b8377639fd21da313ac0201837ebbdf1f51ee74 100644 (file)
@@ -4556,6 +4556,12 @@ R6RS.  @xref{R6RS Incompatibilities} in the manual."
   (read-enable 'r6rs-hex-escapes)
   (read-enable 'hungry-eol-escapes))
 
+(define (install-r7rs!)
+  "Make changes to the default environment to better conform to the
+R7RS."
+  (install-r6rs!)
+  (read-enable 'r7rs-symbols))
+
 \f
 
 ;;; {Deprecated stuff}