#3368: Deriving Foldable doesn't work
-----------------------------+----------------------------------------------
Reporter: cmcq | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 6.11 | Severity: normal
Keywords: | Testcase:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
-----------------------------+----------------------------------------------
I was trying out the Foldable deriving in GHC HEAD (see ticket #2953).
fold gave a stack space overflow. -ddump-deriv shows that the wrong foldr
is being used:
{{{
{ GHC.Base.foldr f_aat z_aav (Main.Nil) = z_aav,
}}}
This is easy to fix but isn't it strange that there's no compile error?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3368>
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