patch applied (packages/mtl): Rejig mtl; trac proposal #1127
Ian Lynagh
igloo at earth.li
Sat Mar 3 10:35:02 EST 2007
Sat Mar 3 07:22:21 PST 2007 Ian Lynagh <igloo at earth.li>
* Rejig mtl; trac proposal #1127
Moved the MonadFoo classes to Control.Monad.Foo.Class.
Put the instances consistently in the module which defines the type they
give an instance for.
Made the existing transformers lazy to match the existing monads, and put
them in Control.Monad.Foo.Lazy. Also added Control.Monad.Foo.Strict with
strict monads and transformers. Control.Monad.Foo still exports what it
used to.
Created a MonadRWS class.
Made the MonadWriter w (ErrorT e m) instance strict to match everything
else.
A ./Control/Monad/Cont/
M ./Control/Monad/Cont.hs -64 +45
A ./Control/Monad/Cont/Class.hs
A ./Control/Monad/Error/
M ./Control/Monad/Error.hs -157 +92
A ./Control/Monad/Error/Class.hs
M ./Control/Monad/Identity.hs -14 +14
M ./Control/Monad/List.hs -44 +48
A ./Control/Monad/RWS/
M ./Control/Monad/RWS.hs -157 +9
A ./Control/Monad/RWS/Class.hs
A ./Control/Monad/RWS/Lazy.hs
A ./Control/Monad/RWS/Strict.hs
A ./Control/Monad/Reader/
M ./Control/Monad/Reader.hs -71 +88
A ./Control/Monad/Reader/Class.hs
A ./Control/Monad/State/
M ./Control/Monad/State.hs -318 +9
A ./Control/Monad/State/Class.hs
A ./Control/Monad/State/Lazy.hs
A ./Control/Monad/State/Strict.hs
M ./Control/Monad/Trans.hs -12 +12
A ./Control/Monad/Writer/
M ./Control/Monad/Writer.hs -150 +9
A ./Control/Monad/Writer/Class.hs
A ./Control/Monad/Writer/Lazy.hs
A ./Control/Monad/Writer/Strict.hs
M ./LICENSE -4 +4
M ./Makefile -3 +9
M ./mtl.cabal -23 +35
M ./package.conf.in -22 +33
M ./prologue.txt -1 +1
More information about the Cvs-libraries
mailing list