The assert package

[Tags: bsd3, library]

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.


Properties

Versions0.0.1.0, 0.0.1.1, 0.0.1.2
Dependenciesbase (>=4 && <=9000)
LicenseBSD3
Copyright© 2013 Liyang HU
AuthorLiyang HU
Maintainerassert@liyang.hu
Stabilityexperimental
CategoryControl
Home pagehttps://github.com/liyang/assert
Source repositoryhead: git clone http://github.com/liyang/assert
Upload dateSun May 5 14:12:39 UTC 2013
Uploaded byLiyangHu
Downloads371 total (30 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees