4
cabal sandbox init
cabal install haskeline
... installs successfully ...
ghci
Prelude> :module +System.Console.Haskeline
<no location info>:
Could not find module `System.Console.Haskeline'
ghc-pkg list haskeline
.. not found ..
我必须做什么让haskeline可以使用cabal沙箱?如果我安装haskeline正常(无沙箱),它是好的(GHC-PKG列表haskeline - 发现了它)。cabal沙箱+ haskeline