@hackage const0

Read-only mutable primitives

const

Hackage

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