diff options
author | Andy Wingo <wingo@pobox.com> | 2019-09-25 21:57:03 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2019-09-25 22:06:38 +0200 |
commit | 0bb980f120a41b445d040869b5d9e211910ccf69 (patch) | |
tree | 07be2d8f28abfc5321b5e4d00120b993ce9ce16f /doc/ref | |
parent | 8fd7914f35b17b14913e962eebe3e6ce90f407c7 (diff) | |
download | guile-0bb980f120a41b445d040869b5d9e211910ccf69.tar.gz |
New function: install-r6rs!
* doc/ref/r6rs.texi (R6RS Incompatibilities): Document install-r6rs!.
* module/ice-9/boot-9.scm (install-r6rs!): New function.
Diffstat (limited to 'doc/ref')
-rw-r--r-- | doc/ref/r6rs.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/ref/r6rs.texi b/doc/ref/r6rs.texi index 218dca326..62328be55 100644 --- a/doc/ref/r6rs.texi +++ b/doc/ref/r6rs.texi @@ -106,6 +106,19 @@ Guile's implementation of @code{equal?} may fail to terminate when applied to arguments containing cycles. @end itemize +Guile exposes a procedure in the root module to choose R6RS defaults +over Guile's historical defaults. + +@deffn {Scheme Procedure} install-r6rs! +Alter Guile's default settings to better conform to the R6RS. + +While Guile's defaults may evolve over time, the current changes that +this procedure imposes are to add @code{.sls} and @code{.guile.sls} to +the set of supported @code{%load-extensions}, to better support R6RS +conventions. @xref{Load Paths}. Also, enable R6RS unicode escapes in +strings; see the discussion above. +@end deffn + @node R6RS Standard Libraries @subsection R6RS Standard Libraries |