[GHC] #6135: Unboxed Booleans
GHC
cvs-ghc at haskell.org
Wed Jan 23 19:36:17 CET 2013
#6135: Unboxed Booleans
---------------------------------+------------------------------------------
Reporter: benl | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 7.8.1
Component: Compiler | Version: 7.4.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: #605 |
---------------------------------+------------------------------------------
Comment(by singpolyma):
It would be pretty awesome if any enumeration (all-nullary constructors)
could be treated as codegen-equivalent to `Int#` internally, with Enum,
Eq, and Ord just being wrappers around the obvious primops. Though I'm
not sure what the moving parts of such a proposal would be.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6135#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list