-
Notifications
You must be signed in to change notification settings - Fork 7
/
compact.cabal
49 lines (46 loc) · 2.18 KB
/
compact.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: compact
version: 0.1.0.1
synopsis: Non-GC'd, contiguous storage for immutable data structures
description:
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 and later only.
The bare-bones library that ships with GHC is @ghc-compact@.
license: BSD3
license-file: LICENSE
author: Edward Z. Yang, Ben Gamari
maintainer: [email protected], [email protected]
homepage: https://github.com/ezyang/compact
copyright: (c) 2017 Edward Z. Yang, Ben Gamari
category: Data
build-type: Simple
extra-source-files: ChangeLog.md
cabal-version: >=1.10
extra-source-files: README.md tests/sample1.hs tests/sample2.hs
tested-with: GHC==8.2.1, GHC==8.2.2,
GHC==8.4.1, GHC==8.4.2, GHC==8.4.3, GHC==8.4.4,
GHC==8.6.1, GHC==8.6.2, GHC==8.6.3, GHC==8.6.4, GHC==8.6.5,
GHC==8.8.1, GHC==8.8.2, GHC==8.8.3,
GHC==8.10.1
library
exposed-modules: Data.Compact
Data.Compact.Serialize
build-depends: base >= 4.10 && < 5,
ghc-compact,
-- TODO: SomeTypeRep instance is in unreleased version
-- of binary that is bundled with GHC dev branch
binary >= 0.8.4.1 && < 0.11,
bytestring >= 0.10 && < 0.13
default-language: Haskell2010
test-suite compact-test
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: compact-test.hs
build-depends: compact, base, directory
default-language: Haskell2010