安装reactive-banana-wx

时间:2011-09-17 13:44:46

标签: haskell cabal reactive-banana

当您尝试安装库reactie-banana-wx时,请收到错误:

src\CRUD.hs:10:18: Could not find module `Data.Map': It is a member of the hidden package `containers-0.4.0.0'. Perhaps you need to add `containers' to the build-depends in your .cabal file.

安装命令:

cabal install reactive-banana-wx

请帮助解决问题。

1 个答案:

答案 0 :(得分:4)

它提供的建议是合理的,如果有点混乱:cabal install隐藏它产生.cabal文件的步骤!以下是您可以明确地执行该部分的方法:

cabal unpack reactive-banana-wx
cd reactive-banana-wx-*
gvim *.cabal # or whatever editor you prefer
# follow the instructions given in the error
cabal install