[racket] struct-copy with sub-types

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Fri Mar 25 11:33:15 EDT 2011

On Fri, Mar 25, 2011 at 16:32, Robby Findler
<robby at eecs.northwestern.edu> wrote:
>> Isn't the second case the case Robby said it still doesn't work?
> Oh, sorry, yes: you'd have to write this:
>  (struct-copy sub (sub 1 2 3) [b #:parent base 4])
> or else it would be a syntax error.

OK. The examples clarified this.

Posted on the users mailing list.