[racket] Template Variables

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Aug 29 09:36:56 EDT 2012

In part I, HtDP introduces the idea of a template (see sections whose title is Designing Foo). In its most basic form, a template looks like this: 

 (define (f x) ....)

To make sure you can evaluate a definitions area that contains such templates, say 

(define (f x)

(check-expect (g 1) 1)
(define (g y)

the teaching languages assign meaning to dots. The word 'variable' is somewhat unfortunate and I should fix this for  a future release. 

On Aug 29, 2012, at 8:58 AM, Greg Graham wrote:

> I am working the HtDP, and I have a question about Beginning Student Language description onhttp://docs.racket-lang.org/htdp-langs/beginner.html . Section 1.2 describes “Template Variables”, which are a series of dots. What are they used for?
> -Greg
> ____________________
>  Racket Users list:
>  http://lists.racket-lang.org/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120829/05349fc6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4373 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20120829/05349fc6/attachment.p7s>

Posted on the users mailing list.