Re: [racket] Template variables

2013-09-21 Thread Manfred Lotz
On Sat, 21 Sep 2013 09:48:14 -0400 Matthias Felleisen wrote: > > #lang racket > > (require (except-in 2htdp/image image?)) > (require lang/htdp-advanced) ;; <-- this appears to override >except-in, so stick to this order > (require 2htdp/universe) > Yep, that does it nicely. Thanks a lot

Re: [racket] Template variables

2013-09-21 Thread Matthias Felleisen
#lang racket (require (except-in 2htdp/image image?)) (require lang/htdp-advanced) ;; <-- this appears to override except-in, so stick to this order (require 2htdp/universe) On Sep 21, 2013, at 5:50 AM, Manfred Lotz wrote: > Hi there, > How could I use template variables (... aso.) when usi

[racket] Template variables

2013-09-21 Thread Manfred Lotz
Hi there, How could I use template variables (... aso.) when using #lang racket? I tried this: #lang racket (require lang/htdp-advanced) (require 2htdp/image) (require 2htdp/universe) test.rkt:4:9: module: identifier already imported from: lang/htdp-beginner at: image? in: 2htdp/image cont

Re: [racket] Template Variables

2012-08-29 Thread Matthias Felleisen
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

[racket] Template Variables

2012-08-29 Thread Greg Graham
I am working the HtDP, and I have a question about Beginning Student Language description on http://docs.racket-lang.org/htdp-langs/beginner.html . Section 1.2 describes "Template Variables", which are a series of dots. Wh