This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
"<Brad Knotwell" <knotwell@f5.com> writes: > Along the same lines, code like this contrived example worked in > guile1.3 but doesn't work now: > > (define (test-fun x) > (define tt? (eq? x 3)) > (define return-val > (if tt? #t #f)) > return-val) You've found a bug. :) However according to r5rs (eq? 3 3) returns an unspecified value. Use eqv? instead. Jost
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |