mwleeds / epigram

Automatically exported from code.google.com/p/epigram
0 stars 0 forks source link

Problem on installing SHE #114

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

$ cabal install she
Resolving dependencies...
Configuring she-0.3...
Preprocessing library she-0.3...
Preprocessing executables for she-0.3...
Building she-0.3...
[1 of 1] Compiling ShePrelude       ( src\ShePrelude.lhs, 
dist\build\ShePrelude.o )
Registering she-0.3...
[ 1 of 10] Compiling Parsley          ( src\Parsley.lhs, 
dist\build\she\she-tmp\Parsley.o )
[ 2 of 10] Compiling HaLay            ( src\HaLay.lhs, 
dist\build\she\she-tmp\HaLay.o )

src\HaLay.lhs:101:17:
    Overlapping instances for Alternative
                                (StateT (Position, String) Maybe)
      arising from a use of `some'
    Matching instances:
      instance (Functor m, MonadPlus m) => Alternative (StateT s m)
        -- Defined in transformers-0.2.2.0:Control.Monad.Trans.State.Lazy
      instance Alternative L -- Defined at src\HaLay.lhs:458:12-24
    In the second argument of `(<$)', namely `some (chk isNL cha)'
    In the first argument of `(<*>)', namely
      `NL <$ some (chk isNL cha)'
    In the second argument of `(<|>)', namely
      `NL <$ some (chk isNL cha) <*> lFLine'

src\HaLay.lhs:458:12:
    Overlapping instances for Applicative L
      arising from the superclasses of an instance declaration
    Matching instances:
      instance (Functor m, Monad m) => Applicative (StateT s m)
        -- Defined in transformers-0.2.2.0:Control.Monad.Trans.State.Lazy
      instance Applicative L -- Defined at src\HaLay.lhs:462:12-24
    In the instance declaration for `Alternative L'
cabal.exe: Error: some packages failed to install:
she-0.3 failed during the building phase. The exception was:
ExitFailure 1

What version of the product are you using? On what operating system?

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.2

$ cabal --version
cabal-install version 0.8.2
using version 1.8.0.2 of the Cabal library

Original issue reported on code.google.com by fang...@gmail.com on 10 Mar 2011 at 4:14

GoogleCodeExporter commented 8 years ago
Same problem here, x86 linux.

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.2

$ cabal --version
cabal-install version 0.8.2
using version 1.8.0.6 of the Cabal library 

Original comment by physci@gmail.com on 27 Apr 2011 at 5:16

GoogleCodeExporter commented 8 years ago
I'm having the same issue on Snow Leopard.

$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 7.0.3

$ cabal --version
cabal-install version 0.10.2
using version 1.10.1.0 of the Cabal library

Original comment by jadenb1...@gmail.com on 17 May 2011 at 9:25