ありゃ scheme2011/08/13 01:35

Gauche 0.9.2になって Lionでmake出来た

Racketも5.1.2でlionで動いたが

(cons (cons 'sin (cons 'x ())) (cons 'cos (cons 'y ())))
で おかしい

gosh> (cons (cons 'sin (cons 'x ())) (cons 'cos (cons 'y ())))
((sin x) cos y)
gosh>

Racketだと
(cons (cons 'sin (cons 'x ())) (cons 'cos (cons 'y ())))
. #%app: missing procedure expression; probably originally (), which is an illegal empty application in: (#%app)

mit-scheme 9.0.1だと
Release 9.0.1 || Microcode 15.1 || Runtime 15.7 || SF 4.41 || LIAR/C 4.118
Edwin 3.116

1 ]=> (cons (cons 'sin (cons 'x ())) (cons 'cos (cons 'y ())))

;Value 2: ((sin x) cos y)