[Haskell-cafe] Possible bug?

Peter Verswyvelen bugfact at gmail.com
Fri Feb 13 11:16:23 EST 2009


Could it be considered a bug when a function compiles fine without type
signature, but when you add the type signature that GHCi reports with :type,
it fails to compile?
I am using functional dependencies, and I know these are not the best way to
do it.

Can all functional dependencies be completely replaced with associated types
when using GHC 6.10.1? I tried once but I failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090213/fc82dfdf/attachment.htm


More information about the Haskell-Cafe mailing list