I think possibly Roelof has added the HtDP image teachpack, not the HtDP/2e image teachpack. :(
Robby On Thu, Feb 23, 2012 at 12:58 PM, Matthias Felleisen <matth...@ccs.neu.edu> wrote: > > The code was developed in BSL. You must have forgotten to copy and paste the > require line. > > > On Feb 23, 2012, at 1:52 PM, ROELOF WOBBEN wrote: > >> >> >> Op 23/02/12, Matthias Felleisen <matth...@ccs.neu.edu> schreef: >>> >>> Here is a high-riding American SUV, does this help? >>> >>> >>> (require 2htdp/image) >>> >>> (define cab (beside (rectangle 33 18 'solid 'red) (right-triangle 10 18 >>> 'solid 'red))) >>> (define body (rectangle 100 30 'solid 'red)) >>> (define top (above/align 'right cab body)) >>> (define tire (circle 15 'solid 'black)) >>> (define bot (beside tire (rectangle 25 10 'solid 'white) tire)) >>> >>> (above top bot) >>> >>> >>> >> When I try your example in the Beginng Student language with the Image teach >> packett I get this error : >> >> beside: this function is not defined >> >> Roelof >> >> ____________________ >> Racket Users list: >> http://lists.racket-lang.org/users > > > ____________________ > Racket Users list: > http://lists.racket-lang.org/users ____________________ Racket Users list: http://lists.racket-lang.org/users