<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<br> You can't compute (car (1 2 3)) because before car even begin, it's parameter, list (1 2 3) must be evaluated, but 1 is not a procedure name. It is different than in (quote (1 2 3)) where such evaluation doesn't take place.<BR> <BR><div>> Date: Sun, 18 Sep 2011 12:05:20 -0500<br>> From: grettke@acm.org<br>> To: matthias@ccs.neu.edu<br>> CC: eli@barzilay.org; sk@cs.brown.edu; users@racket-lang.org<br>> Subject: Re: [racket] Quoted expressions in #lang racket<br>> <br>> On Sun, Sep 18, 2011 at 11:41 AM, Matthias Felleisen<br>> <matthias@ccs.neu.edu> wrote:<br>> ><br>> > Mr Noob: if (1 2 3) is a value, why can't I compute (car (1 2 3)). 4 is a value and I can compute (+ 4 3). #t is a value and I can compute (not #t). Why do you insist that I cannot compute with (1 2 3) if it is a value?<br>> <br>> Maybe RacketNoob can start by doing this:<br>> <br>> "In the bottom left hand of the screen in DrRacket click the "Choose<br>> Language" dropdown, "Use the language declared in source" should be<br>> selected on the left.<br>> <br>> On the right you can choose the "Output Syntax". If you change it to<br>> "write" then it will look how you want."<br>> <br>> And then we can point him at some good things to read that will help<br>> him make sense of all the good points and advice everyone has shared.<br>> <br>> Perhaps: Racket reader documentation, quote documentation, Scheme<br>> standard? That is how I learned. I loved this passage from the R6RS<br>> spec:<br>> <br>> ``It is important to distinguish between the mathematical numbers, the<br>> Scheme objects that attempt to model them, the machine representations<br>> used to implement the numbers, and notations used to write numbers.''<br>> _________________________________________________<br>> For list-related administrative tasks:<br>> http://lists.racket-lang.org/listinfo/users<br></div>                                            </div></body>
</html>