Buduję prosty skrypt z runhaskell
i próbuję użyć FastString
z ghc-7.10.2
. Po prostu:Jak mogę odkryć bibliotekę GHC za pomocą Runhaskell
import FastString
main = putStrLn "Hello SO"
uruchomienie go z runhaskell Main.hs
skutkuje błędem:
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.
wiem, że mogę zbudować go z cabal
i określić ghc
jako uzależnienia, ale naprawdę trzeba to zrobić z runhaskell
.
Jak mogę odkryć bibliotekę GHC przy użyciu runhaskell
?