The ghc-compact package

[ Tags: bsd3, data, library ] [ Propose Tags ]

This package provides minimal functionality for working with "compact regions", which hold a fully evaluated Haskell object graph. These regions maintain the invariant that no pointers live inside the struct that point outside it, which ensures efficient garbage collection without ever reading the structure contents (effectively, it works as a manually managed "oldest generation" which is never freed until the whole is released).

Internally, the struct is stored a single contiguous block of memory, which allows efficient serialization and deserialization of structs for distributed computing.

This package provides a low-level API; see also the compact package which provides a user-facing API.


Dependencies base (>=4.9.0 && <4.11), bytestring (>= && <0.11), ghc-prim (== || == [details]
License BSD3
Category Data
Bug tracker
Source repo head: git clone
Uploaded Sun Jul 23 14:31:46 UTC 2017 by HerbertValerioRiedel
Updated Tue Nov 21 23:13:21 UTC 2017 by HerbertValerioRiedel to revision 1   [What is this?]
Distributions Arch:, LTSHaskell:, NixOS:, Stackage:
Downloads 379 total (21 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




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