为什么GHC在实际安装时会注意到缺少库?

时间:2015-07-28 12:54:43

标签: haskell ghc cabal parsec

我正在学习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库"是什么?意思?

0 个答案:

没有答案