[GHC] #4385: Type-level natural numbers

GHC cvs-ghc at haskell.org
Wed May 8 18:00:11 CEST 2013


#4385: Type-level natural numbers
----------------------------------------+-----------------------------------
    Reporter:  diatchki                 |       Owner:  diatchki        
        Type:  feature request          |      Status:  new             
    Priority:  normal                   |   Milestone:  7.6.2           
   Component:  Compiler (Type checker)  |     Version:                  
    Keywords:                           |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple         |     Failure:  None/Unknown    
  Difficulty:                           |    Testcase:                  
   Blockedby:                           |    Blocking:                  
     Related:                           |  
----------------------------------------+-----------------------------------

Comment(by diatchki):

 Thanks, I'll take a look and try to improve the solver.  Unfortunately, I
 don't think that there's an easy way to work around this in the
 polymorphic case.  If you could instantiate the `n`s somehow, it'd get
 solved, but I know that's not always an option.

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



More information about the ghc-tickets mailing list