[racket] λ vs lambda

From: Michael Rice (limitcase at gmail.com)
Date: Mon May 14 11:09:15 EDT 2012

The code below (kons) gets flagged in R5RS:

define: not allowed in an expression context in: (define dispatch (λ (m)
(cond ((= m 0) x) ((= m 1) y) (else (error "Argument not 0 or 1 -- KONS"

Works fine if I replace the lambda symbols with "lambda".




Posted on the users mailing list.