-
Notifications
You must be signed in to change notification settings - Fork 223
/
Copy pathdelta-types.cabal
86 lines (79 loc) · 2.23 KB
/
delta-types.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
cabal-version: 2.2
name: delta-types
version: 0.2024.9.3
synopsis: Delta types, also known as change actions.
description:
A __delta type__ @da@ for a __base type__ @a@ is a collection
of values, each of which corresponds to a change @a → a@ of the base type.
.
See also
.
* [Delta encodings help separate business logic from database operations](https://bobkonf.de/2023/apfelmus.html)
.
* [Fixing Incremental Computation: Derivatives of Fixpoints, and the Recursive Semantics of Datalog](http://arxiv.org/abs/1811.06069)
(Here, the concept of a delta type is called a __change action__.)
homepage: https://github.com/cardano-foundation/cardano-wallet
author: Cardano Foundation (High Assurance Lab)
maintainer: [email protected]
copyright: 2021-2023 IOHK, 2024 Cardano Foundation
license: Apache-2.0
category: Data Structures
build-type: Simple
extra-source-files:
README.md
common language
default-language:
Haskell2010
default-extensions:
NoImplicitPrelude
OverloadedStrings
other-extensions:
BangPatterns
FlexibleContexts
GADTs
NamedFieldPuns
StandaloneDeriving
TupleSections
TypeFamilies
TypeOperators
UndecidableInstances
common opts-lib
ghc-options:
-Wall -Wcompat
-Wredundant-constraints
-Wincomplete-uni-patterns -Wincomplete-record-updates
if flag(release)
ghc-options: -O2 -Werror
common opts-exe
import: opts-lib
ghc-options: -threaded -rtsopts
flag release
description: Enable optimization and `-Werror`
default: False
manual: True
library
import: language, opts-lib
hs-source-dirs: src
build-depends:
, base
, containers
, fmt
, semigroupoids
exposed-modules:
Data.Delta
Data.Delta.Core
Data.Delta.Embedding
Data.Delta.List
Data.Delta.Map
Data.Delta.Set
test-suite unit
import: language, opts-exe
type: exitcode-stdio-1.0
hs-source-dirs: test/unit
main-is: Main.hs
build-depends:
, base
, hspec
build-tool-depends: hspec-discover:hspec-discover
other-modules:
Data.DeltaSpec