name: primitive-checked
version: 0.6.3.0
synopsis: primitive functions with bounds-checking
homepage: https://github.com/andrewthad/primitive-checked#readme
bug-reports: https://github.com/andrewthad/primitive-checked/issues
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2018 Andrew Martin
license: BSD3
license-file: LICENSE
build-type: Simple
cabal-version: >= 1.21
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 digits of the version match the
version of `primitive`. The fourth digit is used for bug fixes.
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/andrewthad/primitive-checked
library
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
, primitive == 0.6.3.*
exposed-modules:
Data.Primitive.Array
Data.Primitive.SmallArray
Data.Primitive.ByteArray
Data.Primitive.UnliftedArray
reexported-modules:
Control.Monad.Primitive
, Data.Primitive.Addr
, Data.Primitive.MachDeps
, Data.Primitive.MutVar
, Data.Primitive.Types
default-language: Haskell2010