#3484: GHC diverges when proving nonequality of types
-----------------------------+----------------------------------------------
Reporter:  ryani             |          Owner:                  
    Type:  bug               |         Status:  new             
Priority:  normal            |      Component:  Compiler        
 Version:  6.10.4            |       Severity:  normal          
Keywords:                    |       Testcase:                  
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-----------------------------+----------------------------------------------
 Conor posted an interesting suggestion for proving type non-equality here:

 http://www.nabble.com/Re%3A-Is-it-possible-to-prove-type-*non*-equality-
 in-Haskell--p25153135.html

 I implemented it on my Nat framework and got GHC to diverge:
 {{{
 C:\haskell>ghc -c Absurd.hs
 stack overflow: use +RTS -K<size> to increase it
 }}}

 I've attempted to shrink the code as much as possible and still reproduce
 the error; attached is the result.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3484>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to