
#7801: Change C arithmetic types to integral types. -----------------------------+---------------------------------------------- Reporter: jeffshaw | Owner: Type: feature request | Status: new Priority: normal | Component: libraries/base Version: 7.6.2 | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Blockedby: Blocking: | Related: -----------------------------+---------------------------------------------- I've done some looking, and I haven't found a case where C's arithmetic types aren't implemented as integers or words. Furthermore, the arithmetic types already allow (*) via Num, so it'd be nice to have them be Integral types so that we have div, too. I propose we include Bits, Enum, and Integral instances for CTime and friends. Jeff -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7801 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler