The assert package
GHC supports compile-time toggling of run-time assertions via the -fignore-asserts flag, which only effects a behavioural change in Control.Exception.assert. Furthermore the reported location only gives the use site of the aforementioned, making it difficult to abstract over and hence cumbersome to use.
This package aims to make assertions more convenient, and also provides a rule to rewrite assertions to id when -fignore-asserts is used.
|Versions||0.0.1.0, 0.0.1.1, 0.0.1.2|
|Dependencies||base (>=4 && <=9000) [details]|
|Copyright||© 2013 Liyang HU|
|Source repository||head: git clone http://github.com/liyang/assert|
|Uploaded||Sun May 5 14:12:39 UTC 2013 by LiyangHu|
|Downloads||939 total (11 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees