assert: Helpers for Control.Exception.assert

[ bsd3, control, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1.0, 0.0.1.1, 0.0.1.2
Dependencies base (>=4 && <=9000) [details]
License BSD-3-Clause
Copyright © 2013 Liyang HU
Author Liyang HU
Maintainer assert@liyang.hu
Category Control
Home page https://github.com/liyang/assert
Source repo head: git clone http://github.com/liyang/assert
Uploaded by LiyangHu at 2013-11-18T01:48:19Z
Distributions
Reverse Dependencies 5 direct, 3 indirect [details]
Downloads 3344 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]