The BirdPP package

[ Tags: development, gpl, program ] [ Propose Tags ]

Literate preprocessor that allows intuitive Haddock comments.

[Skip to Readme]


Versions 1.0, 1.1
Dependencies base (>=2 && <4), haskell98 [details]
License GPL
Author Sean McLaughlin
Category Development
Bug tracker
Uploaded Thu Aug 20 11:47:37 UTC 2009 by SeanMcLaughlin
Distributions NixOS:1.1
Executables BirdPP
Downloads 1110 total (9 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-31 [all 6 reports]
Hackage Matrix CI


Maintainer's Corner

For package maintainers and hackage trustees

Readme for BirdPP-1.0

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


> code


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

> code

| comments

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

ghc -pgmL BirdPP --make Main.lhs