relation-0.5.2.0: relation.cabal
cabal-version: 2.2
name: relation
version: 0.5.2.0
synopsis: A data structure representing Relations on Sets.
description: A library to model relationships between two objects that are subclasses of Ord.
We use a two Maps that allows fast searching either by the key element or the value element.
homepage: https://www.github.com/haskell-works/relation/
bug-reports: https://www.github.com/haskell-works/relation/issues
license: BSD-3-Clause
license-file: LICENSE
author: Leonel Fonseca
maintainer: John Ky
copyright: (C) 2019-2020 John Ky,
(C) 2012 Drew Day,
(C) 2010 Leonel Fonseca
category: Data Structures
stability: Experimental
build-type: Simple
tested-with: GHC == 8.10.1, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4
extra-source-files: LICENSE
README.md
source-repository head
type: git
location: https://www.github.com/haskell-works/relation
common base { build-depends: base >= 4.11 && < 5 }
common containers { build-depends: containers >= 0.5 && < 0.7 }
common doctest { build-depends: doctest >= 0.16.2 && < 0.17 }
common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }
common hedgehog { build-depends: hedgehog >= 0.5 && < 1.1 }
common hspec { build-depends: hspec >= 2.4 && < 3 }
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1.0.4 && < 0.2 }
common relation
build-depends: relation
common config
default-language: Haskell2010
ghc-options: -Wall -O2
library
import: base, config
, containers
hs-source-dirs: src
exposed-modules: Data.Relation
, Data.Relation.Ops
, Data.Relation.Internal
, Data.Relation.Internal.Set
test-suite relation-test
import: base, config
, containers
, hedgehog
, hspec
, hw-hspec-hedgehog
, relation
build-depends: relation
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: Data.Relation.Gen
, Data.RelationSpec
, Paths_relation
autogen-modules: Paths_relation
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-tool-depends: hspec-discover:hspec-discover
test-suite relation-doctest
import: base, config
, doctest
, doctest-discover
, relation
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: DoctestDriver.hs
HS-Source-Dirs: doctest
build-tool-depends: doctest-discover:doctest-discover
test-suite doctest
import: base, config
, doctest
, doctest-discover
, relation
type: exitcode-stdio-1.0
ghc-options: -threaded
main-is: DoctestDriver.hs
HS-Source-Dirs: doctest
build-tool-depends: doctest-discover:doctest-discover