[gambit-list] Reference implementation of SRFI-1 List Library

Mikael mikael.trash at gmail.com
Wed Feb 2 09:50:40 EST 2011


Also you have it in the Black Hole module system, just type (import (std
srfi/1)) . Latest ver of B.H. and "BHLibs" or sth at
github.com/pereckerdal, docs in Gambit's wiki. Mikael

2011/2/2 Marc Feeley <feeley at iro.umontreal.ca>

> Please check the Gambit dumping grounds (
> http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Dumping_Grounds).
>  I've just put Guillaume Germain's SRFI-pack which contains several SRFIs
> for Gambit, including SRFI-1.
>
> Marc
>
>
> On 2011-02-02, at 3:33 AM, Lewis wrote:
>
> > Greetings all,
> >
> > I downloaded and compiled the reference SRFI-1 implementation,
> > http://srfi.schemers.org/srfi-1/srfi-1-reference.scm. I load the
> > compiled version into gambit (after loading syntax case), but
> > everytime it starts up I recieve these errors:
> >
> > lewis at 1710:~$ gsc
> > *** WARNING -- Variable ":optional" used in module "1-list-library.o1"
> > is undefined
> > *** WARNING -- Variable "let-optionals" used in module
> > "1-list-library.o1" is undefined
> > *** WARNING -- Variable "start" used in module "1-list-library.o1" is
> undefined.
> >
> > The only reference in the SRFI itself I can find is this
> >
> > ;;; The code has only these non-R4RS dependencies:
> > ;;;   A few calls to an ERROR procedure;
> > ;;;   Uses of the R5RS multiple-value procedure VALUES and the m-v
> binding
> > ;;;     RECEIVE macro (which isn't R5RS, but is a trivial macro).
> > ;;;   Many calls to a parameter-checking procedure check-arg:
> > ;;;    (define (check-arg pred val caller)
> > ;;;      (let lp ((val val))
> > ;;;        (if (pred val) val (lp (error "Bad argument" val pred
> caller)))))
> > ;;;   A few uses of the LET-OPTIONAL and :OPTIONAL macros for parsing
> > ;;;     optional arguments.
> >
> > Does anyone know how I can get these macros in gambit? (all the list
> > procedures i want appear to work, but the error messages are
> > annoying.)
> >
> > Thanks,
> > Lewis
> > _______________________________________________
> > Gambit-list mailing list
> > Gambit-list at iro.umontreal.ca
> > https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20110202/ea2f5b3d/attachment.htm>


More information about the Gambit-list mailing list