choener / FormalGrammars

Context-free and linear grammars in Haskell (parsing, pretty-printing, embedded DSL)
http://www.bioinf.uni-leipzig.de/Software/gADP/
GNU General Public License v3.0
5 stars 3 forks source link

Fix up Haddock comments #1

Closed Fuuzetsu closed 10 years ago

Fuuzetsu commented 10 years ago

Documenting GADT constructors this way is not supported in Haddock. See this ticket. The best one can do is to use GADT records and comment the fields.

Due to this, Hackage documentation wasn't being built. See this build log for details.

I worked around the issue by documenting the constructors in the data declaration comment instead.

It now looks like this: GADT constructor documentation

choener commented 10 years ago

Thanks! Will be in the next sdist.