#4089: Empty Show instance + phantom type + GHCi = out of memory
-----------------------+----------------------------------------------------
    Reporter:  japple  |       Owner:            
        Type:  bug     |      Status:  new       
    Priority:  normal  |   Component:  GHCi      
     Version:  6.12.2  |    Keywords:            
          Os:  Linux   |    Testcase:            
Architecture:  x86     |     Failure:  GHCi crash
-----------------------+----------------------------------------------------

Comment(by pumpkin):

 This is just like doing

 {{{
 instance Eq M
 }}}

 and having a call to (==) loop between (/=) and (==) infinitely. show
 calls shows which calls showsPrec which calls show. I don't think this is
 a bug.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4089#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to