Stand-alone deriving declarations added
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Oct 5 10:14:06 EDT 2006
Hello Bjorn,
Thursday, October 5, 2006, 12:05:00 PM, you wrote:
> I have just pushed some patches which add support for stand-alone
> 'deriving' declarations.
thank you! i like this a lot
> deriving Class for Type
is 'for' now reserved exclusively for deriving? can i define 'for'
function, for example?
what is behavior of your extension when there is no access to
internals of a type? say,
import Data.Map (Map)
deriving Typeable for Map
> and for multi-parameter type classes:
> deriving (Class t1 ... tn) for Type
which means that stand-alone deriving has more features than old one? :)
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Cvs-ghc
mailing list