On Jun 29, 2012, at 3:14 PM, Roelof Wobben wrote: > ; Te gebruiken structs > > ; Design a world program that works with both cats and chameleons: > ; A VAnimal is either > ; – a VCat > ; – a VCham > (define-struct Vanimal (Vchat Vcham))
Please re-read the chapter. The above is completely wrong. EITHER a VAnimal is one of two things OR it is a combination of two things. You can't have it both ways. -- Matthias ____________________ Racket Users list: http://lists.racket-lang.org/users