* R7RS-large aliases for srfis
@ 2019-01-19 6:50 craven
2019-01-24 18:52 ` Per Bothner
0 siblings, 1 reply; 3+ messages in thread
From: craven @ 2019-01-19 6:50 UTC (permalink / raw)
To: kawa mailing list
Hello ;)
Would it be possible to add the r7rs-large aliases for existing srfis?
For example, srfi-1 should also be loadable as (import (scheme list)).
If there is no existing mechanism in kawa for aliases, something like
the following would suffice:
(define-library (scheme list)
(import (srfi :1))
(export xcons ...) ;; just re-export all identifiers
)
chibi does exactly that ;)
Would be great to help with writing portable(r) code.
Greetings,
Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: R7RS-large aliases for srfis
2019-01-19 6:50 R7RS-large aliases for srfis craven
@ 2019-01-24 18:52 ` Per Bothner
2019-01-24 20:18 ` Peter
0 siblings, 1 reply; 3+ messages in thread
From: Per Bothner @ 2019-01-24 18:52 UTC (permalink / raw)
To: craven, kawa mailing list
On 1/18/19 10:50 PM, craven@gmx.net wrote:
> Would it be possible to add the r7rs-large aliases for existing srfis?
> For example, srfi-1 should also be loadable as (import (scheme list)).
> If there is no existing mechanism in kawa for aliases, something like
> the following would suffice:
>
> (define-library (scheme list)
> (import (srfi :1))
> (export xcons ...) ;; just re-export all identifiers
> )
>
> chibi does exactly that ;)
>
> Would be great to help with writing portable(r) code.
It seems a bit premature, since the contents of r7rs-large is still
being decided and debated.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: R7RS-large aliases for srfis
2019-01-24 18:52 ` Per Bothner
@ 2019-01-24 20:18 ` Peter
0 siblings, 0 replies; 3+ messages in thread
From: Peter @ 2019-01-24 20:18 UTC (permalink / raw)
To: Per Bothner, kawa mailing list
> It seems a bit premature, since the contents of r7rs-large is still
> being decided and debated.
That is only true for parts, the Red Edition (for example (scheme list)
for srfi-1) has been finalized. It has been "standardised" (for whatever
that's worth) ;) Work on other future libraries continues.
Greetings, Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-24 20:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-19 6:50 R7RS-large aliases for srfis craven
2019-01-24 18:52 ` Per Bothner
2019-01-24 20:18 ` Peter
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).