Haskell Platform call for consensus: add transformers and revise the mtl package to depend on it

Ross Paterson ross at soi.city.ac.uk
Wed Nov 10 03:13:16 EST 2010

On Wed, Nov 10, 2010 at 12:24:44AM -0500, Isaac Dupree wrote:
> On 11/06/10 10:26, Ross Paterson wrote:
> >Brent Yorgey's report raises one: the following functions, defined in
> >the transformers package as replacements for data constructors for the
> >base monads, should probably be re-exported by the new mtl:
> People probably have local variables named "cont" and "state" in
> their code already.  Especially in code that uses the Cont and State
> monads already, I imagine.  Well, I suppose we can live with that.

Yes they do, and this will trigger warnings with -Wall.  But none
of the packages in hackage that import Control.Monad.Cont define a
top-level function cont (or similarly for the others), so it shouldn't
break anything.

More information about the Libraries mailing list