
8 Jul
2010
8 Jul
'10
10:11 a.m.
"Pasqualino \"Titto\" Assini"
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@gmail.com IvanMiljenovic.wordpress.com