2012-07-24 97 views
1

尝试安装无功与阴谋,我得到这个:哈斯克尔阴谋无包错误

src/FRP/Reactive/PrimReactive.hs:79:8: 
    Could not find module `Control.Comonad' 
    It is a member of the hidden package `comonad-1.1.1.6'. 
    Perhaps you need to add `comonad' to the build-depends in your .cabal file. 
    It is a member of the hidden package `comonad-3.0.0.1'. 
    Perhaps you need to add `comonad' to the build-depends in your .cabal file. 

this,它确实没有comonad依赖。但是,它在PrimReactive.hs中使用Control.Comonad。

回答

2

问题是它取决于category-extras> = 0.53.5,但没有上限。 category-extras软件包最近已被弃用(赞成软件包集成程度较低),并在其位置上载了一个包含模块和功能结束位置信息的元软件包。

要么给一个上限值,这样的:

cabal install reactive --constraint "category-extras < 0.54" 

或更改小集团文件依赖于适当的分立封装来代替。后者可能需要更多的工作(尤其是因为许多接口在拆分中发生了显着变化)。

+0

谢谢。就在看到你的答案之前,我注意到category-extras已被弃用,并认为它必须与它有关。 – 2012-07-24 05:29:48