[racket] Template variables
On Sat, 21 Sep 2013 09:48:14 -0400
Matthias Felleisen <matthias at ccs.neu.edu>
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.
>
>
> On Sep 21, 2013, at 5:50 AM, Manfred Lotz wrote:
>
> > 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
> > context...:
> > standard-module-name-resolver
> >
> > If I leave out 2htdp/image then I won't have bitmap which I need.
> >
> > Actually I would like to leave out lang/htdp-advanced but then the
> > ellipses are missing. What could I do?
> >
> >
> > --
> > Thanks,
> > Manfred
> >
> > ____________________
> > Racket Users list:
> > http://lists.racket-lang.org/users
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>