The notcpp package

[Tags: bsd3, library]

notcpp is a library that attempts to provide an alternative to using CPP as a mechanism for conditional compilation. It provides facilities for determining if specific names or class instances exist and responding accordingly.

When a value or class instance appears between minor releases of a third-party package, a common way of dealing with the problem is to use CPP to conditionally use one block of code or another. The trouble with CPP is it's hard to statically analyse: tools based on haskell-src-exts will outright refuse to parse it, for example. It turns out Template Haskell will do the same job in some cases.


Versions0.0.1, 0.1,, 0.2,,,
Change logNone available
Dependenciesbase (<5), template-haskell (==2.7.*) [details]
Copyright2012 Ben Millwood
AuthorBen Millwood <>
MaintainerBen Millwood <>
CategoryTemplate Haskell
Bug tracker
Source repositoryhead: git clone git://
UploadedFri Apr 13 20:28:26 UTC 2012 by BenMillwood
Downloads1157 total (16 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




Maintainers' corner

For package maintainers and hackage trustees