File: nonempty-containers.cabal

package info (click to toggle)
haskell-nonempty-containers 0.3.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 556 kB
  • sloc: haskell: 8,856; makefile: 2
file content (100 lines) | stat: -rw-r--r-- 2,706 bytes parent folder | download
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
cabal-version:      1.12

-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack

name:               nonempty-containers
version:            0.3.5.0
synopsis:           Non-empty variants of containers data types, with full API
description:
  Efficient and optimized non-empty versions of types from /containers/.
  Inspired by /non-empty-containers/ library, except attempting a more
  faithful port (with under-the-hood optimizations) of the full /containers/
  API. Also contains a convenient typeclass abstraction for converting
  betwewen non-empty and possibly-empty variants. See README.md for more
  information.

category:           Data Structures
homepage:           https://github.com/mstksg/nonempty-containers#readme
bug-reports:        https://github.com/mstksg/nonempty-containers/issues
author:             Justin Le
maintainer:         justin@jle.im
copyright:          (c) Justin Le 2018
license:            BSD3
license-file:       LICENSE
build-type:         Simple
tested-with:        GHC >=8.10
extra-source-files:
  CHANGELOG.md
  README.md

source-repository head
  type:     git
  location: https://github.com/mstksg/nonempty-containers

library
  exposed-modules:
    Data.Containers.NonEmpty
    Data.IntMap.NonEmpty
    Data.IntMap.NonEmpty.Internal
    Data.IntSet.NonEmpty
    Data.IntSet.NonEmpty.Internal
    Data.Map.NonEmpty
    Data.Map.NonEmpty.Internal
    Data.Sequence.NonEmpty
    Data.Sequence.NonEmpty.Internal
    Data.Set.NonEmpty
    Data.Set.NonEmpty.Internal

  other-modules:    Paths_nonempty_containers
  hs-source-dirs:   src
  ghc-options:      -Wall -Wcompat -Wredundant-constraints
  build-depends:
      aeson
    , base             >=4.9     && <5
    , comonad
    , containers       >=0.6.3.1 && <0.9
    , deepseq
    , invariant
    , nonempty-vector
    , semigroupoids
    , these
    , vector

  default-language: Haskell2010

test-suite nonempty-containers-test
  type:             exitcode-stdio-1.0
  main-is:          Spec.hs
  other-modules:
    Paths_nonempty_containers
    Tests.IntMap
    Tests.IntSet
    Tests.Map
    Tests.Sequence
    Tests.Set
    Tests.Util

  hs-source-dirs:   test
  ghc-options:
    -Wall -Wcompat -Wredundant-constraints -threaded -rtsopts
    -with-rtsopts=-N

  build-depends:
      base                 >=4.9     && <5
    , comonad
    , containers           >=0.6.3.1 && <0.9
    , hedgehog             >=1.0
    , hedgehog-fn          >=1.0
    , invariant
    , nonempty-containers
    , nonempty-vector
    , semigroupoids
    , tasty
    , tasty-hedgehog       >=1.0
    , text
    , these
    , vector

  default-language: Haskell2010