GHC's CPP and Cabal's unlit

Alistair Bayley alistair at
Thu Jan 31 11:07:28 EST 2008

> Ok, yes. So how about what I just implemented, that you put two blank
> lines between the named chunks?

Yes, that would work. You just need some way of separating/continuing
comment blocks, whatever it is.

> In particular I'd like to know how well it works for Jon Fairbairn who
> has .lhs code that uses haddock markup and he uses a little
> pre-processor to convert it.

I have a feeling his preprocessor doesn't cover this case, from a
brief inspection. He uses {- -} to delimit comment sections, rather
than -- for comment lines.


More information about the cabal-devel mailing list