I am running Ubuntu 10.10 and I have a transformers module installed through the Ubuntu libghc6-transformers-dev package. For some reason, this package is hidden by default:
ghc --make -i./src/ src/fastcgi.hs -o myapp.fcgi src/MyApp/Webapp.hs:6:7: Could not find module `Control.Monad.IO.Class': It is a member of the hidden package `transformers-0.2.1.0'. Use -v to see a list of the files searched for.
So my first question is “why?”. And my second question: what is the proper way to “display” this module (without having to explicitly specify the module through the command line)? And is this a good / bad idea?
Note. I can get ghc to compile by passing the package name explicitly, for example:
ghc --make -package transformers -i./src/ src/fastcgi.hs -o myapp.fcgi
haskell ghc packages
Chris W.
source share