2010/12/30 Andreas Baldeau <andr...@baldeau.net>:
> instance Ord TypeRep where
>    compare t1 t2 =
>        compare
>            (unsafePerformIO (typeRepKey t1))
>            (unsafePerformIO (typeRepKey t2))

I think it would suffice. Thank you for a tip.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to