The assert package

[Tags:bsd3, library, test]

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.


Dependencies base (>=4 && <=9000) [details]
License BSD3
Copyright © 2013 Liyang HU
Author Liyang HU
Category Control
Home page
Source repository head: git clone
Uploaded Mon Nov 18 01:48:19 UTC 2013 by LiyangHu
Distributions NixOS:
Downloads 1079 total (22 in the last 30 days)
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees