で簡単なスクリプトを作成していて、 fromrunhaskell
を使用しようとしています。単に:FastString
ghc-7.10.2
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
。
を使用してghcライブラリを再表示するにはどうすればよいrunhaskell
ですか?