@hackage const0
Read-only mutable primitives
Categories
License
(BSD-2-Clause OR Apache-2.0)
Maintainer
Edward Kmett <ekmett@gmail.com>
Links
Versions
- 0 Wed, 24 Mar 2021
Installation
Dependencies (4)
- base >=4.12 && <5
- bytestring >=0.10.8 && <0.12
- primitive ^>=0.7
- ptrdiff ^>=0 Show all…
Dependents (0)
const
This package provides a small shim around the data types and operations in Foreign and Data.Primitive
for emulating const-correctness from a C perspective.
In the future it'd be nice to have a proper const-cast that can handle nested ConstPtr's, etc. but this suffices for my current usecases. Patches welcome!
Contact Information
Contributions and bug reports are welcome!
Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.
-Edward Kmett