Thu Aug 12 06:13:19 PDT 2010 [email protected]
* Fix Trac #4220
For deriving Functor, Foldable, Traversable with empty
data cons I just generate a null equation
f _ = error "urk"
There are probably more lurking (eg Enum) but this will do for now.
M ./compiler/typecheck/TcGenDeriv.lhs -6 +18
View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100812131319-1287e-0d3666b1f9fc98e6ff8f78154a9745fede8c55f4.gz
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc