[racket-dev] `cond' / `when' / `unless' / etc bodies
Yesterday, Robby Findler wrote:
>
> Maybe you're saying that people would be confused by that error?
> Woudln't that already happen with
>
> (define (foo x) (define x (add1 x)) x)
>
> ?
Yes, they would. I just think that overall more newbies fall for the
trap of trying a conditional definition, so making it work (in a few
more cases) might be confusing. In any case, I still like to have
this feature -- I just mentioned the above to be fair.
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://barzilay.org/ Maze is Life!