
9 Aug
2013
9 Aug
'13
2:53 p.m.
It is almost certainly the case that the implementation of these functions should not be the constant return True function.
Yeah, I just checked that and looks like GHC generates `error $ Void ==` ==================== Derived instances ==================== Derived instances: instance GHC.Classes.Eq Main.D where GHC.Classes.== = GHC.Err.error "Void ==" GHC.Classes./= a_aok b_aol = GHC.Classes.not ((GHC.Classes.==) a_aok b_aol) But I can't find code generation part of standalone deriving, any ideas on where is this generation part? --- Ömer Sinan Ağacan http://osa1.net