On 2013-08-07 08:42:53 -0700, Eric Dobson wrote: > What is (posn X Y)? If you mean the obvious (struct/c posn X Y) you > will run into issues with the fact that posn is immutable and > therefore the contracts on its fields need to be flat or chaperone > contracts, and parametric contracts are not.
How about something like: (struct/dc posn [x () #:impersonator X] [y () #:impersonator Y]) Cheers, Asumu ____________________ Racket Users list: http://lists.racket-lang.org/users