diff options
Diffstat (limited to 'libraries/ghc-compact/ghc-compact.cabal')
-rw-r--r-- | libraries/ghc-compact/ghc-compact.cabal | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/libraries/ghc-compact/ghc-compact.cabal b/libraries/ghc-compact/ghc-compact.cabal new file mode 100644 index 0000000000..829e56c4f1 --- /dev/null +++ b/libraries/ghc-compact/ghc-compact.cabal @@ -0,0 +1,45 @@ +name: ghc-compact +version: 0.1.0.0 +-- NOTE: Don't forget to update ./changelog.md +license: BSD3 +license-file: LICENSE +maintainer: libraries@haskell.org +bug-reports: http://ghc.haskell.org/trac/ghc/newticket?component=libraries/ghc-compact +synopsis: In memory storage of deeply evaluated data structure +category: Data +description: + 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. +build-type: Simple +cabal-version: >=1.10 +tested-with: GHC==7.11 + +source-repository head + type: git + location: http://git.haskell.org/ghc.git + subdir: libraries/ghc-compact + +library + default-language: Haskell2010 + other-extensions: + MagicHash + BangPatterns + UnboxedTuples + CPP + + build-depends: ghc-prim == 0.5.0.0, + base >= 4.9.0 && < 4.11, + bytestring >= 0.10.6.0 + ghc-options: -Wall + + exposed-modules: GHC.Compact + GHC.Compact.Serialized |