Re: MTL vs Transformers

2009-11-27 Thread Erik de Castro Lopo
I think I was miss remembering the problem I had. Over the last several of months I had run into the mtl vs transformers problem a couple of times and forgot what the actual problem was. Then when I found the solution (package hiding) I thought that solution needed to be applied to the packages themselve

Re: MTL vs Transformers

2009-11-27 Thread Joachim Breitner
Hi, Am Freitag, den 27.11.2009, 22:12 +1100 schrieb Erik de Castro Lopo: > Joachim Breitner wrote: > > you are only talking about calls to ghc by haskell-devscripts, e.g. when > > compiling Setup.hs, right? Then I agree with you. > > Yes. This can be fixed in the line for setup in Setup.

Re: MTL vs Transformers

2009-11-27 Thread Erik de Castro Lopo
Joachim Breitner wrote: > you are only talking about calls to ghc by haskell-devscripts, e.g. when > compiling Setup.hs, right? Then I agree with you. Yes. > The calls to ghc for building the libraries themselves should handle > this via cabal, shoudn’t they? Yes, and I actually think I have a

Re: MTL vs Transformers

2009-11-27 Thread Joachim Breitner
Hi, Am Freitag, den 27.11.2009, 18:01 +1100 schrieb Erik de Castro Lopo: > The obvious solution is to modify haskell-devscripts so that when > it calls ghc, it uses -hide-all-packages and then explicity adds > in the required packages using the -package option. > > Does this make sense? If so, I

Re: MTL vs Transformers

2009-11-27 Thread Marco Túlio Gontijo e Silva
Hi Erik. Em Sex, 2009-11-27 às 18:01 +1100, Erik de Castro Lopo escreveu: (...) > The obvious solution is to modify haskell-devscripts so that when > it calls ghc, it uses -hide-all-packages and then explicity adds > in the required packages using the -package option. > > Does this make sense?

Re: MTL vs Transformers

2009-11-26 Thread Erik de Castro Lopo
Clifford Beshers wrote: > Another alternative is to simply force the user to explicitly select the > appropriate package in the source code, with the syntax: > > import "mtl" Control.Monad.Trans > > Ugly, but the packaging is easier. That means a patch for each and every package that depends on

Re: MTL vs Transformers

2009-11-26 Thread Clifford Beshers
Another alternative is to simply force the user to explicitly select the appropriate package in the source code, with the syntax: import "mtl" Control.Monad.Trans Ugly, but the packaging is easier. On Thu, Nov 26, 2009 at 11:01 PM, Erik de Castro Lopo > wrote: > Hi all, > > Apparently the Hask

MTL vs Transformers

2009-11-26 Thread Erik de Castro Lopo
Hi all, Apparently the Haskell Platform is transitioning from one implementation of monad transformers (MTL) to another implementation (Transformers). http://hackage.haskell.org/package/mtl http://hackage.haskell.org/package/transformers I have a preliminary package for Transformers but