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.


[Last Documentation]

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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS],,
Change log
Dependencies base (>=4.10 && <4.11), binary (>= && <0.9), bytestring (>=0.10 && <0.11), 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:
Reverse Dependencies 9 direct, 30 indirect [details]
Downloads 4091 total (22 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-02-28 [all 3 reports]