[gambit-list] Confused

Bradley Lucier lucier at math.purdue.edu
Fri Oct 15 16:00:20 EDT 2010


Marc:

Can you explain what's going on here?  I would expect both expressions to print the same.

Brad

[Bradley-Luciers-MacBook-Pro:~] lucier% gsi cond-test.scm
a
#!void
[Bradley-Luciers-MacBook-Pro:~] lucier% cat cond-test.scm
(pretty-print (let ((else #f))
                (cond (else 'a))))
(pretty-print (cond (#f 'a)))
[Bradley-Luciers-MacBook-Pro:~] lucier% gsi -v
v4.6.0 20100716125419 i386-apple-darwin10.4.0 "./configure CC=/pkgs/gcc-4.5.1/bin/gcc -fschedule-insns -march=native --enable-single-host --enable-multiple-versions --enable-shared"




More information about the Gambit-list mailing list