primitive-checked: primitive functions with bounds-checking
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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.
This packages deviates slightly from the PVP in that functions
can be added to the API with only a bump to the fourth digit.
[Skip to Readme]
Properties
Versions | 0.6.3.0, 0.6.4.0, 0.6.4.1, 0.6.4.1, 0.6.4.2, 0.7.0.0, 0.7.2.0, 0.7.3.0 |
---|---|
Change log | None available |
Dependencies | base (>=4.9.1.0 && <5), primitive (>=0.6.4 && <0.6.5) [details] |
License | BSD-3-Clause |
Copyright | 2018 Andrew Martin |
Author | Andrew Martin |
Maintainer | andrew.thaddeus@gmail.com |
Category | Array |
Home page | https://github.com/andrewthad/primitive-checked#readme |
Bug tracker | https://github.com/andrewthad/primitive-checked/issues |
Source repo | head: git clone https://github.com/andrewthad/primitive-checked |
Uploaded | by andrewthad at 2018-07-10T03:44:03Z |
Modules
[Index]
- Control
- Monad
- Control.Monad.Primitive
- Monad
- Data
- Data.Primitive
- Data.Primitive.Addr
- Data.Primitive.Array
- Data.Primitive.ByteArray
- Data.Primitive.MachDeps
- Data.Primitive.MutVar
- Data.Primitive.PrimArray
- Data.Primitive.SmallArray
- Data.Primitive.Types
- Data.Primitive.UnliftedArray
- Data.Primitive
Downloads
- primitive-checked-0.6.4.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees