-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathassert.cabal
45 lines (40 loc) · 1.38 KB
/
assert.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: assert
version: 0.0.1.2
synopsis: Helpers for Control.Exception.assert
description:
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.
homepage: https://github.com/liyang/assert
license: BSD3
license-file: LICENSE
author: Liyang HU
maintainer: [email protected]
copyright: © 2013 Liyang HU
category: Control
build-type: Simple
cabal-version: >= 1.8
stability: experimental
source-repository head
type: git
location: http://github.com/liyang/assert
library
hs-source-dirs: src
exposed-modules:
Control.Exception.Assert
build-depends:
base >= 4 && <= 9000
ghc-options: -Wall
test-suite rewrite
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: rewrite.hs
build-depends: assert, base, bytestring, Cabal, directory, filepath,
system-posix-redirect >= 1.1
ghc-options: -Wall -fignore-asserts
-- vim: et sw=4 ts=4 sts=4: