
4 Dec
2010
4 Dec
'10
5:59 p.m.
Why should they? You can compare them in whatever way you like. And there
isn't a natural/inherent sense of total order between types.
On Sun, Dec 5, 2010 at 6:08 AM, Serguey Zefirov
Why TypeRep does have equality and doesn't have ordering?
It would be good to have that.
Right now when I have to order two type representations I convert them to string and then compare. This is somewhat inefficient and not quite straightforward.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
-- Tianyi Cui