Я пытаюсь установить новейшую версию Heist, но errors-1.3.1
, которая не установлена. Любые предложения о том, как пройти мимо этого?ошибки установки cabal-1.3.1 не удается
$ cabal install errors-1.3.1
Resolving dependencies...
Configuring errors-1.3.1...
Building errors-1.3.1...
Preprocessing library errors-1.3.1...
[1 of 5] Compiling Data.EitherR (Data/EitherR.hs, dist/build/Data/EitherR.o)
[2 of 5] Compiling Control.Error.Util (Control/Error/Util.hs, dist/build/Control/Error/Util.o)
Control/Error/Util.hs:74:10:
Could not deduce (Monad m) arising from a use of `fmap'
from the context (Functor m)
bound by the type signature for
fmapRT :: Functor m => (a -> b) -> EitherT l m a -> EitherT l m b
at Control/Error/Util.hs:74:1-13
Possible fix:
add (Monad m) to the context of
the type signature for
fmapRT :: Functor m => (a -> b) -> EitherT l m a -> EitherT l m b
In the expression: fmap
In an equation for `fmapRT': fmapRT = fmap
cabal: Error: some packages failed to install:
errors-1.3.1 failed during the building phase. The exception was:
ExitFailure 1
Версия 1.3.1 устарела, возможно, вам следует «обновить каббал» и попробуйте установить 1.4.1. Если это был отступ, выбранный cabal, то используйте ошибки --constraint == 1.4.1 ' –
Почему новый Heist (0.11.0) зависит от ошибок-1.3. *? – dan
Git repo для Heist на самом деле исправляет эту проблему. Спасибо за помощь. – dan