git.iko.soy/monoidal-containers
on aa-0.6-revert-semigroup-operations help sign in
monoidal-containers/monoidal-containers.cabal
67 lines 2.5 kB history raw
1name: monoidal-containers
2version: 0.6
3synopsis: Containers with monoidal accumulation
4description:
5 Containers with merging via monoidal accumulation. The 'Monoid' instances
6 provided by the @containers@ and @unordered-containers@ packages merge
7 structures in a left-biased manner instead of using the underlying monoidal
8 structure of the value.
9 .
10 This package wraps the types provided by these packages, but provides @Monoid@
11 instances implemented in terms of the value type's 'mappend'. For instance,
12 the @Monoid@ @Map@ instance looks like,
13 .
14 @
15 instance (Ord k, Semigroup a) => Monoid (MonoidalMap k a)
16 @
17homepage: http://github.com/bgamari/monoidal-containers
18license: BSD3
19license-file: LICENSE
20author: Ben Gamari
21maintainer: ben@smart-cactus.org
22copyright: (c) 2014 Ben Gamari
23category: Data
24build-type: Simple
25cabal-version: >=1.10
26extra-source-files: Changelog.md
27tested-with: GHC ==7.8.4, GHC ==8.0.2, GHC ==8.2.2, GHC ==8.4.3, GHC ==8.6.1
29source-repository head
30 type: git
31 location: git://github.com/bgamari/monoidal-containers
33flag split-these
34 description: Use split these/semialign packages
35 manual: False
36 default: True
38library
39 exposed-modules: Data.Map.Monoidal
40 Data.HashMap.Monoidal
41 Data.IntMap.Monoidal
42 Data.Map.Monoidal.Strict
43 Data.IntMap.Monoidal.Strict
44 other-extensions: CPP,
45 MultiParamTypeClasses,
46 GeneralizedNewtypeDeriving,
47 DeriveTraversable,
48 DeriveDataTypeable
49 build-depends: base >=4.5 && <4.13,
50 aeson >=1.0 && <1.5,
51 containers >=0.5 && <0.7,
52 deepseq >=1.3 && <1.5,
53 unordered-containers >= 0.2 && < 0.3,
54 hashable >= 1.2 && < 1.4,
55 lens >=4.4 && <5,
56 newtype >=0.2 && <0.3,
57 semigroups >= 0.18 && < 0.20
59 if flag(split-these)
60 build-depends: these >= 1 && <1.1,
61 semialign >=1 && <1.1
63 else
64 build-depends: these >= 0.7 && <0.9
66 hs-source-dirs: src
67 default-language: Haskell2010