Hi,
here's a trivial question, but I couldn't find it in the documentation. The documentation says that Gambit has support for srfi 9. However none of the procedures seem implemented. What am I doing wrong?
michele
Afficher les réponses par date
No later than yesterday, Aubrey Jaffer wrote on another Scheme-related mailing list
"Any implementation supporting SLIB (Bigloo, Chez, ELK 3.0, Gambit 4.0, Guile, JScheme, MacScheme, MITScheme, Pocket Scheme, RScheme, Scheme48, SCM, scsh, SISC, Stk, and VSCM) supports these SRFIs through SLIB: 0,1,2,8,9,11,23,47,59,60,61,63,94,95,96"
So, I guess that you may use SLIB to access this SRFI, should there be no other way.
P!
2009/8/30 Michele Zaffalon michele.zaffalon@gmail.com:
Hi,
here's a trivial question, but I couldn't find it in the documentation. The documentation says that Gambit has support for srfi 9. However none of the procedures seem implemented. What am I doing wrong?
michele _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
I understand. Just confused by this sentence: http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Documentation#SRFI:s michele
On Sun, Aug 30, 2009 at 8:10 AM, Adrien Piérardpierarda@iro.umontreal.ca wrote:
No later than yesterday, Aubrey Jaffer wrote on another Scheme-related mailing list
"Any implementation supporting SLIB (Bigloo, Chez, ELK 3.0, Gambit 4.0, Guile, JScheme, MacScheme, MITScheme, Pocket Scheme, RScheme, Scheme48, SCM, scsh, SISC, Stk, and VSCM) supports these SRFIs through SLIB: 0,1,2,8,9,11,23,47,59,60,61,63,94,95,96"
So, I guess that you may use SLIB to access this SRFI, should there be no other way.
P!
2009/8/30 Michele Zaffalon michele.zaffalon@gmail.com:
Hi,
here's a trivial question, but I couldn't find it in the documentation. The documentation says that Gambit has support for srfi 9. However none of the procedures seem implemented. What am I doing wrong?
michele _______________________________________________ Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
-- Français, English, 日本語, 한국어
2009/8/30 Michele Zaffalon michele.zaffalon@gmail.com:
I understand. Just confused by this sentence: http://dynamo.iro.umontreal.ca/~gambit/wiki/index.php/Documentation#SRFI:s michele
Err, this sentence indeed states that SRFI 9 is builtin. I checked SRFI-9 (as I don't know the name of each)… Records ? I do have that built-in !
(define-record-type :pare
(kons x y) pare? (x kar set-kar!) (y kdr))
(pare? (kons 1 2))
#t
(pare? (cons 1 2))
#f
How comes you don't?
P!
On 30-Aug-09, at 7:38 AM, Michele Zaffalon wrote:
Hi,
here's a trivial question, but I couldn't find it in the documentation. The documentation says that Gambit has support for srfi 9. However none of the procedures seem implemented. What am I doing wrong?
michele
SRFI 9, "Defining Record Types", is builtin to Gambit. That SRFI only specifies the "define-record-type" special form. There are no procedures defined by that SRFI. Which procedures did you expect?
Marc
On Sun, Aug 30, 2009 at 10:24 AM, Marc Feeleyfeeley@iro.umontreal.ca wrote:
On 30-Aug-09, at 7:38 AM, Michele Zaffalon wrote:
Hi,
here's a trivial question, but I couldn't find it in the documentation. The documentation says that Gambit has support for srfi 9. However none of the procedures seem implemented. What am I doing wrong?
michele
SRFI 9, "Defining Record Types", is builtin to Gambit. That SRFI only specifies the "define-record-type" special form. There are no procedures defined by that SRFI. Which procedures did you expect?
Marc
Apologies about the delayed answer and the noise. I have clearly misunderstood the spirit of SRFI-9. michele