
28 Nov
2009
28 Nov
'09
4:11 p.m.
On Sat, Nov 28, 2009 at 8:56 AM, Ross Paterson
On Sat, Nov 28, 2009 at 04:40:49PM +0000, Duncan Coutts wrote:
Could someone remind me why it's better for use to ask everyone to switch to monads-fd / transformers rather than to mtl-2? Does that make the transition easier?
The problem is that transformers and mtl use the same module names, such as Control.Monad.Identity. Unless one of these packages is hidden, people using ghci or ghc --make will have problems.
I've happily used LANGUAGE PackageImports to handle transformer / mtl conflicts. I don't see why either one must change their module names and there are obvious disadvantages. Thomas