File: bimap.cabal

package info (click to toggle)
haskell-bimap 0.5.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 108 kB
  • sloc: haskell: 745; makefile: 6
file content (58 lines) | stat: -rw-r--r-- 1,889 bytes parent folder | download | duplicates (2)
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
cabal-version:       >= 1.10
name:                bimap
version:             0.5.0
synopsis:            Bidirectional mapping between two key types
description:
  A data structure representing a bidirectional mapping between two
  key types. Each value in the bimap is associated with exactly one
  value of the opposite type.
category:            Data
license:             BSD3
license-file:        LICENSE
copyright:           Stuart Cook and contributors 2008, Joel Williamson 2015
author:              Stuart Cook and contributors 2008, Joel Williamson 2015
maintainer:          Joel Williamson <joel@joelwilliamson.ca>
homepage:            https://github.com/joelwilliamson/bimap
build-type:          Simple
tested-with:         GHC <= 8.6.4 && >= 7.0
extra-source-files:
    HISTORY

Library
  build-depends:       base >= 4 && <5, containers, deepseq, exceptions
  if impl(ghc < 7.6.1)
    build-depends: ghc-prim
    default-extensions:  CPP
                         DeriveGeneric
                         TypeFamilies
  else
    default-extensions: CPP
                        TypeFamilies
  default-language:    Haskell98   
  ghc-options:         -Wall
  exposed-modules:
      Data.Bimap

  if impl(ghc >= 7.8)
    other-modules:
      Data.BimapExt

test-suite tests
    type:            exitcode-stdio-1.0
    main-is:         Test/RunTests.hs
    other-modules:   Test.Tests
                     Test.Util
    build-depends:   base >= 4 && < 5,
                     containers,
                     deepseq,
                     exceptions,
                     QuickCheck >= 2 && < 3,
                     template-haskell >= 2 && < 3
    if impl(ghc < 7.6.1)
      build-depends: ghc-prim
  default-extensions:  TemplateHaskell
  default-language:    Haskell98   

source-repository head
    type:         git
    location:     https://github.com/joelwilliamson/bimap.git