GHC's CPP and Cabal's unlit
Alistair Bayley
alistair at abayley.org
Thu Nov 29 08:54:36 EST 2007
> > -- |
> > -- para 1
> >
> > -- para 2
> >
> > (Haddock will ignore the second paragraph).
>
> Yes, I see. how about using {- -} brackets instead. Would that work
> better?
No, because you still need a way to delimit the Haddock comment.
Sometimes you might want to write more comments, but not have them be
part of the Haddock comment. Two blank lines, maybe?
> 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'll see what I can do.
Alistair
More information about the Libraries
mailing list