[GHC] #4296: The dreaded SkolemOccurs problem

GHC cvs-ghc at haskell.org
Tue Sep 7 09:35:20 EDT 2010


#4296: The dreaded SkolemOccurs problem
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:                                       
        Type:  bug               |       Status:  new                                  
    Priority:  normal            |    Milestone:                                       
   Component:  Compiler          |      Version:  6.12.3                               
    Keywords:                    |     Testcase:  indexed-types/should_compile/Simple20
   Blockedby:                    |   Difficulty:                                       
          Os:  Unknown/Multiple  |     Blocking:                                       
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown                         
---------------------------------+------------------------------------------
 The "!SkolemOccurs" problem is a celebrated difficulty with combining (a)
 termination and (b) completeness, in this example:
 {{{
 type instance F [a] = [F a]
 f :: (F [a] ~ a) => ...
 }}}
 Currently we err on the side of completeness, and lose termination.

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


More information about the Glasgow-haskell-bugs mailing list