[gambit-list] srfi-1 and zip

Siegfried Gonzi siegfried.gonzi at gmx.at
Mon Dec 17 04:25:52 EST 2007


Hello why does zip from srfi-1 not work?

(write (zip (list 1 2 3) (list 2 3 4)))


gives:

==
*** ERROR IN map -- Operator is not a PROCEDURE
(#!unbound '#<procedure #2 procedure?> '#<procedure #3 list> '#<procedure #4 map>)
==

I downloades srfi-1 from snow. However, cannot install it but using srfi-1-reference which comes with snow:

==
gsc -link srfi-1-reference.scm test.scm
gcc srfi-1-reference.c test*.scm -lgambc
./a.out
==

Btw: Is there a way Gambit to obtain better error messages?

Thanks,
Siegfried Gonzi
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser



More information about the Gambit-list mailing list