primitive-checked: primitive functions with bounds-checking

[ array, bsd3, library, unclassified ] [ Propose Tags ]

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]
Versions 0.6.3.0, 0.6.4.0, 0.6.4.1
Dependencies base (>=4.9.1.0 && <5), primitive (==0.6.4.*) [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 Tue Jul 10 03:44:19 UTC 2018
Distributions NixOS:0.6.4.1
Downloads 138 total (12 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-10 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for primitive-checked-0.6.4.1

[back to package description]

primitive-checked

A drop-in replacement for the primitive library that adds bounds-checking to prevent segfaults. This is only intended to be used in test environments.