Good Haskell Style

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Aug 2 11:32:48 EDT 2007


On Thu, 2007-08-02 at 15:41 +0100, Jon Fairbairn wrote:
> "Alistair Bayley" <alistair at abayley.org> writes:
> 
> > > It uses -cpp if CPP is in the language extensions in the .cabal file.
> > 
> > So it does. So now Haddock completes, but produces very limited output.
> > 
> > > Perhaps unlitting should be done by converting all literate comments
> > > into {- ... -} style comments.
> 
> I have a programme (FishFeeder) that does this; it's a bit
> hacky, but I could post it here if someone was interested in
> taking it on.

Sure why not. Post it. As I say, we've already got unlit code in Cabal. 

If anyone wants to then make a patch to Cabal's unlit code that'd be
much appreciated. Then we can ask Alistair to use Takusen as a test
case.

Or we could see about getting it into cpphs's --unlit mode.

Duncan



More information about the Libraries mailing list