proposed change to transformers package
ross at soi.city.ac.uk
Thu Mar 25 09:12:23 EDT 2010
On Thu, Mar 25, 2010 at 08:58:05AM -0400, Mario Blažević wrote:
> 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
> I assume that Data.Functor.Identity would still export a Monad
> instance of Identity? Or would that be moved to monad-fd?
Yes, the instance will stay with the data definition in
Data.Functor.Identity, and the whole module will be re-exported by
Control.Monad.Identity in monads-fd.
More information about the Libraries