さかもとのブログ

つらつらと

OnLisp第11章condletの定義で知ったCommon LispとScheme(Gauche)のletの違い

タイトル長いけれど,言いたいのは,
common lispでは

[81]> (let (a b c) (list a b c))
(NIL NIL NIL)

Gaucheでは

gosh> (let (a b c) (list a b c))
*** ERROR: Compile Error: syntax-error: malformed let: (let (a b c) (list a b c))
"(stdin)":181:(let (a b c) (list a b c))

Gaucheの感覚でいるとcommon lispのコードが??となることがある.