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@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@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@iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list

_______________________________________________
Gambit-list mailing list
Gambit-list@iro.umontreal.ca
https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list