memory: memory and related abstraction stuff

[ bsd3, library, memory ] [ Propose Tags ]

Chunk of memory, polymorphic byte array management and manipulation

[Skip to Readme]
Versions [RSS] [faq] 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13, 0.14, 0.14.1, 0.14.2, 0.14.3, 0.14.4, 0.14.5, 0.14.6, 0.14.7, 0.14.8, 0.14.9, 0.14.10, 0.14.11, 0.14.12, 0.14.13, 0.14.14, 0.14.15, 0.14.16, 0.14.17, 0.14.18, 0.15.0, 0.16.0
Change log
Dependencies base (<4.16), basement (>=0.0.7), bytestring, deepseq (>=1.1), ghc-prim (<0.8) [details]
License BSD-3-Clause
Copyright Vincent Hanquez <>
Author Vincent Hanquez <>
Maintainer, Nicolas Di Prima <>
Revised Revision 1 made by AndreasAbel at 2021-11-18T21:36:02Z
Category memory
Home page
Bug tracker
Source repo head: git clone
Uploaded by VincentHanquez at 2021-05-08T14:19:21Z
Distributions Arch:0.16.0, Debian:0.14.16, Fedora:0.15.0, FreeBSD:0.8, LTSHaskell:0.15.0, NixOS:0.15.0, Stackage:0.16.0, openSUSE:0.15.0
Downloads 137007 total (2104 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]


[Index] [Quick Jump]

Manual Flags


add non-orphan bytearray support for bytestring


add support for foundation strings and unboxed array (deprecated use support_basement)


add support for foundation strings and unboxed array


add deepseq instances for memory types

Automatic Flags

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for memory-0.16.0

[back to package description]


Build Status BSD Haskell

Documentation: memory 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:


Development versions are an incremental number prefixed by 0. No specific meaning is associated with the versions, specially no API stability.

Production versions : TBD

Coding Style

The coding style of this project mostly follows: haskell-style


See Haskell packages guidelines