我有一个项目,我正在尝试lens库。我正在尝试生成haddock文档,以便我可以看到makeClassy
TemplateHaskell
函数生成的函数。 cabal build
工作正常,但cabal haddock
失败
$ cabal haddock
Running Haddock for myproject-0.0.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Preprocessing library myproject-0.0.1...
<command line>: cannot satisfy -package-id lens-3.7.1-a40583cdc124338f52ab40ebbf747e8f
(use -v for more information)
我错过了什么?