[GHC] #1539: Ord should not default to ()

GHC trac at galois.com
Mon Jul 16 08:54:04 EDT 2007


#1539: Ord should not default to ()
----------------------------------------------+-----------------------------
  Reporter:  Peter Berry <pwberry at gmail.com>  |          Owner:         
      Type:  bug                              |         Status:  new    
  Priority:  low                              |      Milestone:         
 Component:  Compiler                         |        Version:  6.7    
  Severity:  normal                           |       Keywords:         
Difficulty:  Unknown                          |             Os:  Unknown
  Testcase:                                   |   Architecture:  Unknown
----------------------------------------------+-----------------------------
See http://hpaste.org/1711 . This defaulting is surprising and unuseful,
 since you can't define any interesting tests. The behaviour of GHC 6.6
 (defaulting to Integer instead), or even not defaulting at all (e.g. by
 removing the monomorphism restriction or just not defaulting Ord), would
 be better.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1539>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


More information about the Glasgow-haskell-bugs mailing list