[plt-scheme] redefinition with #lang scheme
Hi,
I know that the following code works on the REPL, but why/how it should be done to work with #lang scheme ?
(define old-car car)
(define car (λ (lst) (if (null? lst) '() (old-car lst))))
(car '())(car '(a b c))
Thanks.
_________________________________________________________________
Obtenez la version mobile de Messenger ici
http://go.microsoft.com/?linkid=9724473
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100402/e29e29e5/attachment.html>