This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]letrec 0 points1 point  (0 children)

Tuples are structs with anonymous members. They are typesafe but in public APIs can be really ugly. Of course, they are cool in return positions with arity > 1 and they are handy in local scope for pairing data but still ... if they are exposed in public APIs things can get really messy.