This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

learning scheme : difference in letrec behavior


In kawa (2.1 , 2.0) ,
the expression and its result

#|kawa:27|# (letrec ((x 1) (y (+ x 2))) (+ y x))
4
#|kawa:28|#

But the above expression fails in chicken/gambit
gsi error message
*** ERROR IN (console)@1.19 -- (Argument 1) NUMBER expected
(+ #!unbound 2)

from my point of view , this is harmless. And probably portability
with other scheme implementations is not my concern as well.

But will this have any other unwarranted impact ?

Regards,
Debabrata Pani


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]