【发布时间】:2015-12-03 11:02:40
【问题描述】:
我正在使用runhaskell 构建简单的脚本,并尝试使用来自ghc-7.10.2 的FastString。简单地说:
import FastString
main = putStrLn "Hello SO"
使用runhaskell Main.hs 运行它会导致错误:
Main.hs:1:8:
Could not find module ‘FastString’
It is a member of the hidden package ‘ghc-7.10.2’.
Use -v to see a list of the files searched for.
我知道我可以使用cabal 构建它并将ghc 指定为依赖项,但我确实需要使用runhaskell 来构建它。
如何使用runhaskell 取消隐藏 ghc 库?
【问题讨论】:
标签: haskell ghc runhaskell