Hi,

Haddock options in source files can look either like this:

-- # prune, hide, etc

Or like this:

{-# prune, hide, etc #-}

Since the second one was hard to support in GHC, and because I wanted to
implement something that fit better with the GHC system of
options/pragmas, I implemented support for Haddock options solely through
a new pragma: {-# DOC_OPTIONS #-}.

My question is: Do you like this change and should we update packages to
support it, or should we also support the "-- #" style options for
backwards-compatibility?

I'm asking since 6.8.1 is coming up and it would be nice if bundled
packages supports Haddock 2 to a full extent (or are some of them already
released?)

David

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to