[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Accept .sld as scheme extensions in r7rs
From: |
Duy Nguyen |
Subject: |
Re: [PATCH] Accept .sld as scheme extensions in r7rs |
Date: |
Thu, 27 Feb 2020 15:58:39 +0700 |
Ping. Is there any process I should follow?
On Sat, Feb 15, 2020 at 6:46 AM Nguyễn Thái Ngọc Duy <address@hidden> 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