[GHC] #988: X11: refine types for improved type safety

GHC trac at galois.com
Sun Nov 5 19:51:15 EST 2006


#988: X11: refine types for improved type safety
----------------------------------+-----------------------------------------
    Reporter:  ross               |       Owner:         
        Type:  feature request    |      Status:  new    
    Priority:  normal             |   Milestone:         
   Component:  libraries (other)  |     Version:  6.6    
    Severity:  normal             |    Keywords:         
  Difficulty:  Unknown            |    Testcase:         
Architecture:  Unknown            |          Os:  Unknown
----------------------------------+-----------------------------------------
The library interface uses integral types all over the place instead of
 enumerations and `newtype`s, which would give greater type safety.

 Fixing this would be an incompatible change, of course.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/988>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list