-
Notifications
You must be signed in to change notification settings - Fork 33
/
monoidal-containers.cabal
76 lines (67 loc) · 2.19 KB
/
monoidal-containers.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
name: monoidal-containers
version: 0.6.5.0
synopsis: Containers with monoidal accumulation
description:
Containers with merging via monoidal accumulation. The 'Monoid' instances
provided by the @containers@ and @unordered-containers@ packages merge
structures in a left-biased manner instead of using the underlying monoidal
structure of the value.
.
This package wraps the types provided by these packages, but provides @Monoid@
instances implemented in terms of the value type's 'mappend'. For instance,
the @Monoid@ @Map@ instance looks like,
.
@
instance (Ord k, Semigroup a) => Monoid (MonoidalMap k a)
@
homepage: http://github.com/bgamari/monoidal-containers
license: BSD3
license-file: LICENSE
author: Ben Gamari
maintainer: [email protected]
copyright: (c) 2014 Ben Gamari
category: Data
build-type: Simple
cabal-version: >=1.10
extra-source-files: Changelog.md
tested-with:
GHC ==8.2 || ==8.4 || ==8.6 || ==8.8 || ==8.10 || ==9.0 || ==9.2 || ==9.4
|| ==9.6 || ==9.10
source-repository head
type: git
location: git://github.com/bgamari/monoidal-containers
flag split-these
description: Use split these/semialign packages
manual: False
default: True
library
exposed-modules:
Data.HashMap.Monoidal
Data.IntMap.Monoidal
Data.IntMap.Monoidal.Strict
Data.Map.Monoidal
Data.Map.Monoidal.Strict
other-extensions:
CPP
DeriveDataTypeable
DeriveTraversable
GeneralizedNewtypeDeriving
MultiParamTypeClasses
build-depends:
aeson >=1.0 && <2.3
, base >=4.7 && <4.21
, containers >=0.5.9 && <0.8
, deepseq >=1.3 && <1.6
, hashable >=1.2 && <1.5
, lens >=4.4 && <5.4
, newtype >=0.2 && <0.3
, unordered-containers >=0.2 && <0.3
, witherable >=0.4 && <0.6
if flag(split-these)
build-depends:
semialign >=1 && <1.4
, these >=1 && <1.3
else
build-depends: these >=0.7 && <0.9
hs-source-dirs: src
default-language: Haskell2010