[racket] Quoted expressions in #lang racket

From: Racket Noob (racketnoob at hotmail.com)
Date: Sun Sep 18 10:59:56 EDT 2011




> >> In Common Lisp or Clojure REPL, expression '(1 2 3) evaluates to (1 2 3).
> 
> 
> No it doesn't. In CL and Clojure, '(1 2 3) evaluates to '(1 2 3) and then the printer turns it into (1 2 3). 
> 

Wait a minute, I dont get it! You are saying that (quote (1 2 3)) evaluates to (quote (1 2 3)) ?
Sorry, it doesn't make any sanse to me. :(
As I aunderstand things, quote is a special forms that instructs lisp not to evaluate the a form in applicative order, but rather 
treat it as a literal.
 
 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110918/c6dd69aa/attachment.html>

Posted on the users mailing list.