[GHC] #6135: Unboxed Booleans

GHC cvs-ghc at haskell.org
Wed Mar 13 20:52:01 CET 2013


#6135: Unboxed Booleans
---------------------------------+------------------------------------------
    Reporter:  benl              |       Owner:  jstolarek       
        Type:  feature request   |      Status:  patch           
    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 simonpj):

 Why `Int#`?  Wouldn't `Word#` be a better fit?  We already have logical
 operations on that type.

 Can you summarise the design you have implemented, on the Wiki page
 [http://hackage.haskell.org/trac/ghc/wiki/PrimBool]?  it's a bit hard to
 reverse-engineer it from the patch.  Many thanks.

 Simon

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



More information about the ghc-tickets mailing list