You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just failed to install with cabal install structured-haskell-mode.
following is the output:
Resolving dependencies...
Configuring descriptive-0.9.4...
Building descriptive-0.9.4...
Failed to install descriptive-0.9.4
Build log ( /home/tianshu/.cabal/logs/ghc-8.4.3/descriptive-0.9.4-FEHE8NLpn8VAKDAlUxMGxV.log ):
cabal: Entering directory '/tmp/cabal-tmp-16537/descriptive-0.9.4'
Configuring descriptive-0.9.4...
Preprocessing library for descriptive-0.9.4..
Building library for descriptive-0.9.4..
[1 of 7] Compiling Descriptive ( src/Descriptive.hs, dist/build/Descriptive.o )
src/Descriptive.hs:77:10: error:
• No instance for (Semigroup (Description d))
arising from the superclasses of an instance declaration
• In the instance declaration for ‘Monoid (Description d)’
|
77 | instance Monoid (Description d) where
| ^^^^^^^^^^^^^^^^^^^^^^
src/Descriptive.hs:132:26: error:
• Could not deduce (Semigroup (Description d))
arising from a use of ‘<>’
from the context: Monad m
bound by the instance declaration at src/Descriptive.hs:125:10-48
• In the first argument of ‘return’, namely ‘(e <> e')’
In a stmt of a 'do' block: return (e <> e')
In the first argument of ‘consumer’, namely
‘(do e <- d
e' <- d'
return (e <> e'))’
|
132 | return (e <> e'))
| ^^^^^^^
src/Descriptive.hs:213:49: error:
• Could not deduce (Semigroup (Description d))
arising from a use of ‘<>’
from the context: Monad m
bound by the type signature for:
sequenceHelper :: forall (m :: * -> *) t d a.
Monad m =>
Integer -> Consumer t d m a -> Consumer t d m [a]
at src/Descriptive.hs:196:1-78
• In the first argument of ‘continue’, namely ‘(e' <> e'')’
In the expression: continue (e' <> e'')
In a case alternative: Continued e'' -> continue (e' <> e'')
|
213 | continue (e' <> e'')
| ^^^^^^^^^
src/Descriptive.hs:232:10: error:
• Could not deduce (Semigroup (Result (Description d) a))
arising from the superclasses of an instance declaration
from the context: Monoid a
bound by the instance declaration at src/Descriptive.hs:232:10-56
• In the instance declaration for
‘Monoid (Result (Description d) a)’
|
232 | instance (Monoid a) => Monoid (Result (Description d) a) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
src/Descriptive.hs:240:38: error:
• Could not deduce (Semigroup (Description d))
arising from a use of ‘<>’
from the context: Monoid a
bound by the instance declaration at src/Descriptive.hs:232:10-56
• In the first argument of ‘Continued’, namely ‘(e <> e')’
In the expression: Continued (e <> e')
In a case alternative: Continued e' -> Continued (e <> e')
|
240 | Continued e' -> Continued (e <> e')
| ^^^^^^^
src/Descriptive.hs:248:10: error:
• Could not deduce (Semigroup (Consumer s d m a))
arising from the superclasses of an instance declaration
from the context: (Monoid a, Monad m)
bound by the instance declaration at src/Descriptive.hs:248:10-57
• In the instance declaration for ‘Monoid (Consumer s d m a)’
|
248 | instance (Monoid a, Monad m) => Monoid (Consumer s d m a) where
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-16537/descriptive-0.9.4'
cabal: Error: some packages failed to install:
descriptive-0.9.4-FEHE8NLpn8VAKDAlUxMGxV failed during the building phase. The
exception was:
ExitFailure 1
structured-haskell-mode-1.1.0-BtZnu5PUgZA64b8d6lKBIV depends on
structured-haskell-mode-1.1.0 which failed to install.
The text was updated successfully, but these errors were encountered:
thanks for the great work.
I just failed to install with
cabal install structured-haskell-mode
.following is the output:
The text was updated successfully, but these errors were encountered: