[jhc] Building cabal packages

Chris Eidhof chris at eidhof.nl
Mon Nov 16 15:33:06 EST 2009


Hey everyone,

What's the way to build a cabalized package with jhc? I tried the  
following:

> hc --build-hl Yampa.cabal yampa-0.9.2.3.hl
> jhc --build-hl Yampa.cabal yampa-0.9.2.3.hl
> jhc 0.7.3 (-n 0.7.2-40
> )
> Creating library from description file: "Yampa.cabal"
> Reading: "Yampa.cabal"
> Finding Dependencies...
> Using Ho Cache: '/Users/chris/.jhc/cache'
> Typechecking...
> Compiling...
> Writing Library: Yampa-0.9.2.3.hl

But I don't think jhc actually compiled something, or it was *really*  
fast. I tried copying that .hl file to my JHC_LIBRARY_PATH, but when I  
invoke JHC with "-pyampa" it still won't find it. I'm a bit lost...

-chris



More information about the jhc mailing list