[plt-scheme] SRFI-97 and R6RS

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Wed Jan 21 09:07:34 EST 2009

As a starting point, I've added (in SVN) each library listed in SRFI 97
by simply re-exporting the SRFI implementation that's already present.

That's wrong for many SRFIs. It's obviously wrong for `(srfi :1)', for
example, which needs to be replaced with an implementation that works
with mutable lists. Other SRFI implementations could be patched up by
wrapping a few functions with uses of `mlist->list' and `list->mlist'.

Could we get volunteers to to send me repairs for the broken libraries?


At Wed, 21 Jan 2009 14:29:42 +0100, Andreas Rottmann wrote:
> Hi!
> I'm using PLT as one of my target platforms for running R6RS code. Up to
> now, I've used Derick Eddington's R6RS SRFI collection, which worked
> nicely on PLT as well, as it used a separate namespace, (xitomatl srfi
> ...). However, recently Derick has switched to SRFI-97 names: (srfi :<N>
> ...), which conflicts with PLT, which already provides SRFIs in the
> (srfi ...) namespace, but does not follow SRFI-97 naming.
> It would be nice if PLT provided SRFI-97-style aliases for the SRFI
> libraries it ships with, so one could use PLT's native SRFI
> implementations from R6RS code in the same way as one would use Derick's
> SRFI collection on implementations that don't ship SRFIs.
> This would also resolve the problem of how to use the SRFIs that ship
> with PLT from R6RS code at all (see
> http://list.cs.brown.edu/pipermail/plt-scheme/2008-May/024648.html).
> Regards, Rotty
> -- 
> Andreas Rottmann         | Rotty at ICQ      | 118634484 at ICQ | a.rottmann at gmx.at
> http://yi.org/rotty/     | GnuPG Key: http://yi.org/rotty/gpg.asc
> Fingerprint              | C38A 39C5 16D7 B69F 33A3  6993 22C8 27F7 35A9 92E7
> v2sw7MYChw5pr5OFma7u7Lw2m5g/l7Di6e6t5BSb7en6g3/5HZa2Xs6MSr1/2p7 hackerkey.com
> Could Jesus microwave a burrito so hot that he himself couldn't eat it? - 
> Homer S.
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Posted on the users mailing list.