首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能仓促安装镜头

不能仓促安装镜头
EN

Stack Overflow用户
提问于 2015-04-23 19:31:33
回答 1查看 227关注 0票数 1

我正试着安装镜头包和haskell一起工作。

代码语言:javascript
复制
$ haste-inst install lens

我得到以下错误:

代码语言:javascript
复制
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: base-4.6.0.1/installed-4.6... (user goal)
trying: containers-0.4.1.0/installed- (user goal)
trying: lens-4.9.1 (user goal)
next goal: template-haskell (dependency of lens-4.9.1)
rejecting: template-haskell-2.10.0.0 (conflict:
base==4.6.0.1/installed-4.6..., template-haskell => base==4.8.*)
rejecting: template-haskell-2.9.0.0 (conflict: base==4.6.0.1/installed-4.6...,
template-haskell => base==4.7.*)
rejecting: template-haskell-2.8.0.0 (conflict: containers==0.4.1.0/installed-,
template-haskell => containers==0.5.*)
rejecting: template-haskell-2.7.0.0 (conflict: base==4.6.0.1/installed-4.6...,
template-haskell => base==4.5.*)
rejecting: template-haskell-2.6.0.0 (conflict: base==4.6.0.1/installed-4.6...,
template-haskell => base==4.4.*)
rejecting: template-haskell-2.5.0.0 (conflict: base==4.6.0.1/installed-4.6...,
template-haskell => base==4.3.*)
rejecting: template-haskell-2.4.0.1 (conflict: base==4.6.0.1/installed-4.6...,
template-haskell => base==4.2.*)
rejecting: template-haskell-2.4.0.0 (conflict: base==4.6.0.1/installed-4.6...,
template-haskell => base>=3 && <4.3)
rejecting: template-haskell-2.3.0.1, 2.3.0.0, 2.2.0.0 (conflict: lens =>
template-haskell>=2.4 && <2.11)
Backjump limit reached (change with --max-backjumps).

Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.

我相信沙箱的“注释”是误导的。沙箱是新的,base无论如何也不存在于沙箱中。

是什么决定了草率的版本?安装隐形眼镜(用于haskell)效果很好:

代码语言:javascript
复制
cabal install lens

编辑:

到目前为止,透镜家族作为替代品的表现一直很好。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2015-04-24 05:44:41

镜头依赖于模板哈斯克尔,不幸的是,目前不支持哈斯特。

目前H种姓的基本实现方式使得TH支持变得棘手。然而,GHC 7.10的支持无论如何都需要一些重大的调整,所以支持可能会与7.10一起到来。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/29832702

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档