This is similar to 0bb980f12 (New function: install-r6rs!, 2019-09-25) which accepts .sls extension for r6rs. In r7rs, most portable libraries use .sld. * module/ice-9/boot-9.scm (install-r7rs!): Update %load-extensions. --- module/ice-9/boot-9.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm index 39efcb5e6..b2ba16361 100644 --- a/module/ice-9/boot-9.scm +++ b/module/ice-9/boot-9.scm @@ -4597,6 +4597,9 @@ R6RS. @xref{R6RS Incompatibilities} in the manual." "Make changes to the default environment to better conform to the R7RS." (install-r6rs!) + (set! %load-extensions + (cons* ".guile.sld" ".sld" + (delete ".guile.sld" (delete ".sld" (delete ".guile.sls" (delete ".sls" %load-extensions)))))) (read-enable 'r7rs-symbols)) \f -- 2.23.0.81.g691ad8b700
Ping. Is there any process I should follow?
On Sat, Feb 15, 2020 at 6:46 AM Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
>
> This is similar to 0bb980f12 (New function: install-r6rs!, 2019-09-25)
> which accepts .sls extension for r6rs. In r7rs, most portable libraries
> use .sld.
>
> * module/ice-9/boot-9.scm (install-r7rs!): Update %load-extensions.
> ---
> module/ice-9/boot-9.scm | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
> index 39efcb5e6..b2ba16361 100644
> --- a/module/ice-9/boot-9.scm
> +++ b/module/ice-9/boot-9.scm
> @@ -4597,6 +4597,9 @@ R6RS. @xref{R6RS Incompatibilities} in the manual."
> "Make changes to the default environment to better conform to the
> R7RS."
> (install-r6rs!)
> + (set! %load-extensions
> + (cons* ".guile.sld" ".sld"
> + (delete ".guile.sld" (delete ".sld" (delete ".guile.sls" (delete ".sls" %load-extensions))))))
> (read-enable 'r7rs-symbols))
>
>
> --
> 2.23.0.81.g691ad8b700
>
--
Duy
Hi,
Nguyễn Thái Ngọc Duy <pclouds@gmail.com> skribis:
> This is similar to 0bb980f12 (New function: install-r6rs!, 2019-09-25)
> which accepts .sls extension for r6rs. In r7rs, most portable libraries
> use .sld.
>
> * module/ice-9/boot-9.scm (install-r7rs!): Update %load-extensions.
Applied. Thank you, and apologies for the delay!
Ludo’.