proposed change to transformers package

Nicolas Pouillard nicolas.pouillard at gmail.com
Fri Mar 26 08:24:18 EDT 2010


On Fri, 26 Mar 2010 12:15:24 +0000, Ross Paterson <ross at soi.city.ac.uk> wrote:
> On Tue, Mar 23, 2010 at 02:37:54PM +0000, Ross Paterson wrote:
> > I propose to rename some of the modules in the transformers package so
> > that it no longer conflicts with the mtl package:
> > 
> >   Control.Monad.Identity renamed as Data.Functor.Identity
> >   Control.Monad.Trans split between Control.Monad.Trans.Class and
> >         Control.IO.Trans.Class
> > 
> > Then Control.Monad.Identity and Control.Monad.Trans are added to monads-fd
> > making it closer to mtl.
> 
> Now done.  I also added Data.Functor.{Constant,Compose} to transformers.

Nice, thanks!

Could we have functors products, sums, fixpoints as well? It would really
avoid to redefine them each time.

> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries

-- 
Nicolas Pouillard
http://nicolaspouillard.fr


More information about the Libraries mailing list