Re:Haskell: OOP vs type classes
by kd0amg on Tuesday December 20, 2011 @06:55PM
(#3375754)
The typedef tuple strategy doesn't let you distinguish between types except by the types and ordering of their fields. If you later have a constructor for another ADT (or even the same one) which also takes two Float arguments, you end up with multiple typedefs for tuple<double, double>.
[ Parent
| on HN ]
There are no comments on this comment yet.