Re: Portable imports

2024-07-20 Thread tomas
On Sat, Jul 20, 2024 at 09:18:53PM +0200, Maxime Devos wrote: [...] > Also, AFAIK that %3a encoding isn’t necessary (and neither recognised(^)) in > Guile – I don’t think Guile does any percent encoding(*). I think naming the > file “srfi/:1.scm” would work fine, although it’s not something I’v

RE: Portable imports

2024-07-20 Thread Maxime Devos
>R7RS talks about "programs" and "libraries". These are technical terms with precise meanings. >A "program" corresponds to your typical Scheme script. IIRC it _has_ to start with (import ...). I’ve found it in r7rs.pdf now: > 7.1.6. Programs and definitions > → + +

RE: Portable imports

2024-07-20 Thread Maxime Devos
>In R7RS non-negative integers can be library name parts. Since these library names look natural, it would be good to backport this to R6RS implementations. Then (library [...] (import (srfi 1)) [...]) would work, and since ‘library’ is (R6RS) standard and reasonably portable it would then appe