GHC's CPP and Cabal's unlit

Alistair Bayley alistair at abayley.org
Tue Dec 4 16:42:21 EST 2007


> > It would be nice if we can find an unlit extension that is compatible
> > with the H98 requirement and alo allows useful behaviour for haddock.

I have completed changes to the Unlit module, and also a change to the
Haddock module (to run unlit before cpp). darcs patches attached.

I'd love to know what the official approach to testing is. I have
written a test module which exercises the Unlit module, but I'm not
sure how to tie it in to any existing test infrastructure. At the
moment I just have it sitting in tests/unlit.

Thanks,
Alistair
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haddock_unlit.patch
Type: application/octet-stream
Size: 20882 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cabal-devel/attachments/20071204/aaeeba62/haddock_unlit-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unlit_preserve_comments.patch
Type: application/octet-stream
Size: 26739 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cabal-devel/attachments/20071204/aaeeba62/unlit_preserve_comments-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: UnlitTest.hs
Type: application/octet-stream
Size: 2759 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cabal-devel/attachments/20071204/aaeeba62/UnlitTest-0001.obj


More information about the cabal-devel mailing list