[Haskell-beginners] Compile single file within cabal-dev environment

Petar Radosevic petar at wunki.org
Sun Nov 20 12:29:30 CET 2011


It seems so trivial, but I haven't been able to do it. I'm trying to
compile a single .hs file whose dependencies are available in
a cabal-dev environment. 

For example, at my website repo [1] you can see that I have
a ``wunki.hs`` which uses Hakyll [2] to create my website. I have
installed Hakyll with cabal-dev. But now I want to ``ghc --make
wunki.hs`` with that cabal-dev environment.

Is this possible?

[1]: https://github.com/wunki/www.wunki.org
[2]: https://github.com/jaspervdj/hakyll
-- 
Petar Radošević, Programmer
wunki.org | @wunki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Signature of Petar Radosevic
URL: <http://www.haskell.org/pipermail/beginners/attachments/20111120/8cc99f2b/attachment.pgp>


More information about the Beginners mailing list