Mon Feb  2 05:48:29 PST 2009  [email protected]
  * Add the ability to derive instances of Functor, Foldable, Traversable
  Ignore-this: f3013fefdd65f75fb5060ef0e002f40e
  
  This patch is a straightforward extension of the 'deriving' mechanism.
  The ability to derive classes Functor, Foldable, Traverable is controlled
  by a single flag  -XDeriveFunctor.  (Maybe that's a poor name.)
  
  Still to come: documentation
  
  Thanks to twanvl for developing the patch
  
  

    M ./compiler/main/DynFlags.hs +3
    M ./compiler/prelude/PrelNames.lhs -18 +36
    M ./compiler/typecheck/TcDeriv.lhs -24 +92
    M ./compiler/typecheck/TcGenDeriv.lhs -3 +311
    M ./compiler/utils/Util.lhs +5

View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20090202134829-1287e-92c5ca803d2ccd21398a18f32352999fdbe0f957.gz

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to