packages feed

assoc-listlike-0.1.0.0: assoc-listlike.cabal

name: assoc-listlike
version: 0.1.0.0
category: Data
synopsis: Association lists (list-like collections of tuples)

description:
    An association list conceptually signifies a mapping,
    but is represented as a list (of key-value pairs).
    .
    This package defines an association list as a constraint
    synonym for a list-like collection of tuples, using the
    @ListLike@ type class from the @ListLike@ package.
    .
    > type AssocList l a b = ListLike l (a, b)

homepage:    https://github.com/typeclasses/assoc-list
bug-reports: https://github.com/typeclasses/assoc-list/issues

author:     Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2018 Typeclass Consulting, LLC
license: MIT
license-file: license.txt

build-type: Simple
cabal-version: >= 1.10

extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/typeclasses/assoc-list

library
  default-language: Haskell2010
  hs-source-dirs: src

  build-depends:
      base >=4.7 && <5
    , contravariant
    , ListLike

  exposed-modules:
      Data.AssocList.ListLike.Comparison
    , Data.AssocList.ListLike.Concept
    , Data.AssocList.ListLike.Eq
    , Data.AssocList.ListLike.Equivalence
    , Data.AssocList.ListLike.Ord
    , Data.AssocList.ListLike.Predicate

test-suite doctest
  default-language: Haskell2010
  hs-source-dirs: test
  type: exitcode-stdio-1.0
  main-is: doctest.hs
  ghc-options: -threaded -rtsopts -with-rtsopts=-N

  build-depends:
      base >=4.7 && <5
    , doctest

test-suite hedgehog
  default-language: Haskell2010
  hs-source-dirs: test
  type: exitcode-stdio-1.0
  main-is: hedgehog.hs
  ghc-options: -threaded -rtsopts -with-rtsopts=-N

  build-depends:
      assoc-listlike
    , base >=4.7 && <5
    , contravariant
    , doctest
    , hedgehog