[Haskell-cafe] bug in ghci ?

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Thu Jul 8 10:11:58 EDT 2010


"Pasqualino \"Titto\" Assini" <tittoassini at gmail.com> writes:

> Well the problem is that no warnings are generated.
>
> If you have a class with some methods that do not have a default
> implementation and you do not provide them when defining your
> instance, GHC will at least politely complain.
>
> Ideally, GHC would detect that a Show instance requires one of its two
> functions to be declared as they are mutually recursive and complain.

So you're volunteering to write such functionality? :p

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
IvanMiljenovic.wordpress.com


More information about the Haskell-Cafe mailing list