Hi,

In section 2.5 Structure Definitions of the Typed Racket Reference, there
is an example of a substructure:

Examples:
> (struct (X Y) 2-tuple ([first : X] [second : Y]))
> (struct (X Y Z) 3-tuple 2-tuple ([first : X] [second : Y] [third :  Z]))

I presume the correct definition of 3-tuple  should be:

(struct (X Y Z) 3-tuple 2-tuple ([third :  Z]))

Best,
António.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAJQmiZXkiPPsB2UVPhDFTTnCL%3DDd9swfDnhcM%2BaBJT9EzMmomg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to