roma at ro-che.info
Fri Feb 28 22:00:55 UTC 2014
* Henning Thielemann <lemming at henning-thielemann.de> [2014-02-28 22:48:59+0100]
> Am 28.02.2014 22:31, schrieb Roman Cheplyaka:
> >* Henning Thielemann <lemming at henning-thielemann.de> [2014-02-28 22:21:39+0100]
> >>>: http://hackage.haskell.org/package/hse-cpp
> >>It would still be nicer to have a solution that also works with HSC,
> >>CHS and maybe others. I have also not checked LHS so far.
> >hse-cpp takes care of .lhs, too. As for .hsc and .chs, those are
> > handled by cabal. The idea is that hse-cpp adds the same
> > transformations to haskell-src-exts as ghc has.
> Nice! Is there a recommended way to transfer CPP options from the
> Cabal file to the CpphsOptions record?
Yes, haskell-packages lets you easily create a cabal-integrated
"compiler". See the compile method in particular.
For an example of how this all glues together, see .
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: Digital signature
More information about the cabal-devel