我回到Haskell并且我还没有和cabal合作过多。我正在尝试安装.menu.on {
background-color: blue;
}
.menu.off {
background-color: red;
}
。当我尝试安装它时,我遇到以下错误:
maybet
我想这是一个常见的新手抱怨,但我不知道如何解决这个问题,因为谷歌告诉我,尝试升级>>mkaravan$ cabal install maybet
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: MaybeT-0.1.2 (user goal)
next goal: base (dependency of MaybeT-0.1.2)
rejecting: base-4.10.1.0/installed-4.1... (conflict: MaybeT => base<4.8)
rejecting: base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0,
base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1,
base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0,
base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2,
base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2,
base-3.0.3.1 (constraint from non-upgradeable package requires installed
instance)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, MaybeT
是一个非常糟糕的主意。这是如何工作的?