[plt-scheme] redefinition with #lang scheme

From: Skeptic . (skeptic2000 at hotmail.com)
Date: Fri Apr 2 11:58:58 EDT 2010


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>

Posted on the users mailing list.