ram: memory and related abstraction stuff

[ bsd3, library, memory ] [ Propose Tags ] [ Report a vulnerability ]

This is a fork of memory. It's open to accept changes from anyone, and aims to use existing well maintained libraries as much as possible.

Chunk of memory, polymorphic byte array management and manipulation

  • A polymorphic byte array abstraction and function similar to strict ByteString.

  • Different type of byte array abstraction.

  • Raw memory IO operations (memory set, memory copy, ..)

  • Aliasing with endianness support.

  • Encoding : Base16, Base32, Base64.

  • Hashing : FNV, SipHash


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.19.0, 0.20.0, 0.20.1
Change log CHANGELOG.md
Dependencies base (<4.23), bytestring (<0.13), deepseq (>=1.1 && <1.17), ghc-prim (<0.14) [details]
License BSD-3-Clause
Copyright Vincent Hanquez <vincent@snarc.org>
Author Vincent Hanquez <vincent@snarc.org>
Maintainer hi@jappie.me
Uploaded by Jappie at 2026-03-01T18:51:22Z
Category memory
Home page https://github.com/jappeace/ram
Bug tracker https://github.com/jappeace/ram/issues
Source repo head: git clone https://github.com/jappeace/ram
Distributions
Downloads 3 total (3 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2026-03-01 [all 1 reports]

Readme for ram-0.19.0

[back to package description]

memory

BSD Haskell

This is a fork of memory. It's open to accept changes from anyone, and aims to use existing well maintained libraries as much as possible. The fork is necessary because the original maintainer decided to exit Haskell.

Note that this is /not/ a redesign of memory. It's just here to provide stability so that others can create better alternatives.

Documentation: ram on hackage

A generic memory and related abstraction for haskell:

  • A polymorphic byte array abstraction and function similar to strict ByteString.
  • Different type of byte array abstraction.
  • Raw memory IO operations (memory set, memory copy, ..)
  • Aliasing with endianness support.

Also provides some useful helpers: