assert: Helpers for Control.Exception.assert

[ bsd3, control, library ] [ Propose Tags ]

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 [faq],,
Dependencies base (>=4 && <=9000) [details]
License BSD-3-Clause
Copyright © 2013 Liyang HU
Author Liyang HU
Category Control
Home page
Source repo head: git clone
Uploaded by LiyangHu at Sun May 5 14:12:39 UTC 2013
Distributions NixOS:
Downloads 1884 total (38 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees