[jhc] Initial compiling of a source file
iaefai at me.com
Sat Mar 6 01:07:21 EST 2010
I have managed to get jhc compiled with ghc 6.12.1 and used containers 0.2.0.1. But a problem comes up when I want to compile something that uses Data.Map.
Some very basic code:
import Data.Map (Map)
When compiled, I get this:
$ jhc logic1.hs
jhc 0.7.4 (-n 0.7.3-1
Using Ho Cache: '/Users/iaefai/.jhc/cache'
Error: Module not found: Data.Map
Error: Module not found: Data.Set
However, I do have containers installed:
$ jhc --list-libraries
What would be the proper way to compile this, or at the very least let it find the modules?
Also, is there some documentation generated? I noticed calls to pandoc but didn't notice where they went.
More information about the jhc