packages feed

nonempty-containers-0.3.5.0: nonempty-containers.cabal

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