lemming at henning-thielemann.de
Fri Feb 28 21:21:39 UTC 2014
Am 28.02.2014 22:06, schrieb Roman Cheplyaka:
> * Johan Tibell <johan.tibell at gmail.com> [2014-02-28 21:23:23+0100]
>>> * How can I access modules that are preprocessed? HSC processed modules
>>> are stored in dist/build, but CPP processed modules are not stored anywhere.
>> Perhaps because GHC applies CPP "on the fly". I guess you prefer to use
>> haskell-src-exts, but using the GHC API might be better in the long run, as
>> your tool will work on all packages (more or less a requirement for cabal
> FWIW, hse-cpp adds CPP preprocessing to haskell-src-exts, although
> everyone should be advised against using it since its author doesn't
> follow PVP.
I see. :-)
> : 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.
More information about the cabal-devel