[Haskell-cafe] Trouble installing FileManipCompat
mcfiredrill at gmail.com
Wed Jan 5 19:43:53 CET 2011
Thanks that works, but I have packages that rely on mtl>=2.0, so its
not the best solution. Perhaps the maintainer of FileManipCompat could
be contacted to update the package?
On 1/4/11, Daniel Fischer <daniel.is.fischer at googlemail.com> wrote:
> On Wednesday 05 January 2011 01:54:36, Tony Miller wrote:
>> I'm trying to install FileManipCompat(well, really
>> HStringTemplateHelpers, but the error is from FileManipCompat) and I'm
>> getting this error:
>> [1 of 1] Compiling System.FilePath.FindCompat (
>> System/FilePath/FindCompat.hs, dist/build/System/FilePath/FindCompat.o
>> Not in scope: data constructor `State'
> Apparently the code is written for an older version of mtl.
> As of mtl-2.*, State is no longer a separate type, it's a type synonym for
> StateT s Identity
> You can try
> $ cabal install --constraint="mtl < 2.0" HStringTemplateHelpers
> (although having multiple versions of mtl installed may lead to some
> headaches too).
More information about the Haskell-Cafe