9

で簡単なスクリプトを作成していて、 fromrunhaskellを使用しようとしています。単に:FastStringghc-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ですか?

4

1 に答える 1