compact: Non-GC'd, contiguous storage for immutable data structures

[ bsd3, data, library ] [ Propose Tags ]

This package provides user-facing APIs 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). This package is currently highly experimental, but we hope it may be useful to some people. It is GHC 8.2 only. The bare-bones library that ships with GHC is ghc-compact.

Versions [RSS] [faq],,
Change log
Dependencies base (==4.10.*), binary (>= && <0.9), bytestring (==0.10.*), ghc-compact [details]
License BSD-3-Clause
Copyright (c) 2017 Edward Z. Yang, Ben Gamari
Author Edward Z. Yang, Ben Gamari
Category Data
Uploaded by EdwardYang at 2017-02-28T06:40:03Z
Distributions NixOS:, Stackage:
Downloads 3242 total (80 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2017-02-28 [all 3 reports]


  • Data
    • Data.Compact
      • Data.Compact.Serialize


Maintainer's Corner

For package maintainers and hackage trustees