[Haskell-cafe] Data.Typeable TypeRep Ord instance.
tianyicui at gmail.com
Sat Dec 4 23:59:12 CET 2010
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 <sergueyz at gmail.com> wrote:
> 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
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe