所以我正在尝试使用 reactive-banana + wxHaskell 进行 GUI 编程。作为 Haskell 及其开发工具的新手,我对堆栈感到非常困惑。
于是我试了试,stack install wx
提示我安装wxcore
,提示我安装。在 I 之后,我尝试运行,但你瞧:wxc
wxdirect
stack install wxdirect
stack install wxc
While constructing the BuildPlan the following exceptions were encountered:
-- Failure when adding dependencies:
wxdirect: needed (>=0.90.1.1), not present in build plan (latest is 0.92.1.0)
needed for package: wxc-0.92.1.1
-- While attempting to add dependency,
Could not find package wxdirect in known packages
Recommended action: try adding the following to your extra-deps in {project root}/stack.yaml
- wxdirect-0.92.1.0
简而言之,我正在尝试使用stack
like cabal-install
。而且我不确定为什么这是错误的。stack
如果它是错误的,那么和有什么区别cabal-install
?