BirdPP

A preprocessor for Bird-style Literate Haskell comments with Haddock markup.

Latest on Hackage:1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

GPL licensed by Sean McLaughlin
Maintained by seanmcl@gmail.com

Using Haddock markup with Literate Haskell commenting style doesn't
currently work. For instance, to get Haddock markup in an lhs file:

comments
comments

> code

comments

you'd need to write:

> -- | comments
> -- comments

> code

> -- | comments

This clearly defeats the purpose of Literate Haskell. BirdPP is
a preprocessor that works with GHC so you can write what you want:


| comments
comments

> code

| comments

Compilation of this package will give you an executable called
bunlit. This can be used by ghc using the option -pgmL BirdPP.
E.g.

ghc -pgmL BirdPP --make Main.lhs
Depends on:
Used by 1 package:
comments powered byDisqus