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) 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
smime.p7s
Description: S/MIME cryptographic signature
____________________ Racket Users list: http://lists.racket-lang.org/users