#1894: Add a total order on type constructors
-------------------------------------+--------------------------------------
 Reporter:  guest                    |          Owner:          
     Type:  feature request          |         Status:  new     
 Priority:  normal                   |      Milestone:          
Component:  Compiler (Type checker)  |        Version:  6.8.1   
 Severity:  normal                   |     Resolution:          
 Keywords:                           |     Difficulty:  Unknown 
 Testcase:                           |   Architecture:  Multiple
       Os:  Multiple                 |  
-------------------------------------+--------------------------------------
Comment (by guest):

 The problem with using uniqIds is that the order used when a module is
 compiled must be the same as the order used when it is imported. Do the
 existing uniqIds have that property?

 The suggestion to restrict this to a special type-class is a good one.
 Maybe this should be done as a special kind of `deriving`. I would prefer
 a new class to an extension of an existing one.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1894#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to