* [PATCH] Accept .sld as scheme extensions in r7rs
@ 2020-02-14 23:46 Nguyễn Thái Ngọc Duy
2020-02-27 8:58 ` Duy Nguyen
2020-03-07 15:14 ` Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Nguyễn Thái Ngọc Duy @ 2020-02-14 23:46 UTC (permalink / raw)
To: guile-devel; +Cc: Nguyễn Thái Ngọc Duy
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Accept .sld as scheme extensions in r7rs
2020-02-14 23:46 [PATCH] Accept .sld as scheme extensions in r7rs Nguyễn Thái Ngọc Duy
@ 2020-02-27 8:58 ` Duy Nguyen
2020-03-07 15:14 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Duy Nguyen @ 2020-02-27 8:58 UTC (permalink / raw)
To: guile-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Accept .sld as scheme extensions in r7rs
2020-02-14 23:46 [PATCH] Accept .sld as scheme extensions in r7rs Nguyễn Thái Ngọc Duy
2020-02-27 8:58 ` Duy Nguyen
@ 2020-03-07 15:14 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-03-07 15:14 UTC (permalink / raw)
To: Nguyễn Thái Ngọc Duy; +Cc: Guile Devel
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’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-07 15:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 23:46 [PATCH] Accept .sld as scheme extensions in r7rs Nguyễn Thái Ngọc Duy
2020-02-27 8:58 ` Duy Nguyen
2020-03-07 15:14 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).