Incorrection in Typed Racket documentation

31 views
Skip to first unread message

Antonio Menezes Leitao

unread,
Sep 13, 2015, 6:27:27 AM9/13/15
to Racket Dev
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.

Vincent St-Amour

unread,
Jan 1, 2016, 3:49:59 PM1/1/16
to Antonio Menezes Leitao, Racket Dev
Just pushed a fix. Thanks for the report!

Vincent
> --
> 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 racket-dev+...@googlegroups.com.
> To post to this group, send email to racke...@googlegroups.com.
> 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 all
Reply to author
Forward
0 new messages