-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathprimitive-checked.cabal
60 lines (57 loc) · 2 KB
/
primitive-checked.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
cabal-version: 2.2
name: primitive-checked
version: 0.7.3.0
synopsis: primitive functions with bounds-checking
homepage: https://github.com/haskell-primitive/primitive-checked#readme
bug-reports: https://github.com/haskell-primitive/primitive-checked/issues
author: Andrew Martin
maintainer: Andrew Martin <[email protected]>, konsumlamm <[email protected]>
copyright: 2018 Andrew Martin
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
category: Array
description:
.
This library is intended to be used as a drop-in replacement for
the @primitive@ library in test environments. It adds bounds-checking
to all functions in @primitive@ that are able to cause segfaults.
It is not recommended to use this library in production. However,
if you are testing a library or application you wrote that uses
@primitive@, you can temporarily replace your @primitive@ dependency
with @primitive-checked@, and your segfaults will become normal
Haskell exceptions that you can hunt down with GHC's stack trace
facilities.
.
The versioning for this library matches the version of @primitive@
that is targeted. The first three numbers of the version match the
version of @primitive@. The fourth number is used for bug fixes.
This packages deviates slightly from the PVP in that functions
can be added to the API with only a bump to the fourth number.
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/haskell-primitive/primitive-checked.git
library
hs-source-dirs:
src
build-depends:
base >= 4.9.1.0 && < 5
, primitive == 0.7.3.*
exposed-modules:
Data.Primitive
Data.Primitive.Array
Data.Primitive.SmallArray
Data.Primitive.ByteArray
Data.Primitive.PrimArray
reexported-modules:
Control.Monad.Primitive
, Data.Primitive.MachDeps
, Data.Primitive.MutVar
, Data.Primitive.MVar
, Data.Primitive.Ptr
, Data.Primitive.Types
default-language: Haskell2010
ghc-options: -Wall