From: simonpj@microsoft.com Date: Tue, 20 Nov 2007 12:57:32 +0000 (+0000) Subject: FIX Trac #1825: standalone deriving Typeable X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=f22f248b88346df835b25f03f8d3372c7bb87950;hp=f22f248b88346df835b25f03f8d3372c7bb87950;p=ghc-hetmet.git FIX Trac #1825: standalone deriving Typeable Standalone deriving of typeable now requires you to say instance Typeable1 Maybe which is exactly the shape of instance decl that is generated by a 'deriving( Typeable )' clause on the data type decl. This is a bit horrid, but it's the only consistent way, at least for now. If you say something else, the error messages are helpful. MERGE to 6.8 branch ---