
26 Apr
2007
26 Apr
'07
7:07 p.m.
Neil Mitchell wrote:
I suspect the use of the 2 element tuple is really common, the 3 element tuple sees a few outings, and the 4 and above element tuple is a bit of a rarity.
Right. I suspect the biggest use of the longer tuples is beginners doing this: data MyType = MyType (Int,Int,Char,Bool,Int) instead of this: data MyType = MyType Int Int Char Bool Int -- Ashley Yakeley