我正在学习parsec
但是,当我使用ghc 7.10.1
在我的 Ubuntu 14.04 笔记本电脑中运行以下代码时:
import Control.Applicative
import Text.ParserCombinators.Parsec
我收到了这样的错误消息
fac.hs:2:8:
Could not find module ‘Text.ParserCombinators.Parsec’
Perhaps you haven't installed the "dyn" libraries for package ‘parsec-3.1.9@parse_CtL7rSgjxYR5wAnuCckBL7’?
Use -v to see a list of the files searched for.
但是,我确实在parsec
中安装了~/.cabal/packages/hackage.haskell.org/parsec/3.1.9
,那么为什么ghc
会通知我它无法找到该模块?
" dyn库"是什么?意思?