[GHC] #6135: Unboxed Booleans

GHC cvs-ghc at haskell.org
Mon Apr 8 12:00:20 CEST 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 jstolarek):

 I'd like to finish working on this feature request. For that I need to
 know which approach to choose:

   * Add new primops and leave the old ones unmodified, or
   * Change the existing primops so that they return an Int# + add some
 wrappers (Int# -> Int# -> Bool and so on).

 I think that the second option will not be backwards compatible - not sure
 if that's acceptable. OTOH I think it would simplify GHC code in some
 places, i.e this change seems to be more about removing code than adding.

 I'm unable to decide which approach is the preferred one - people more
 experienced than me should decide.

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



More information about the ghc-tickets mailing list