File: either.cabal

package info (click to toggle)
haskell-either 5.0.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 112 kB
  • sloc: haskell: 245; makefile: 2
file content (69 lines) | stat: -rw-r--r-- 1,889 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
name:          either
category:      Control, Monads
version:       5.0.1.1
license:       BSD3
cabal-version: >= 1.10
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     provisional
homepage:      http://github.com/ekmett/either/
bug-reports:   http://github.com/ekmett/either/issues
copyright:     Copyright (C) 2008-2017 Edward A. Kmett
synopsis:      Combinators for working with sums
description:   Combinators for working with sums.
build-type:    Simple
tested-with:   GHC == 7.0.4
             , GHC == 7.2.2
             , GHC == 7.4.2
             , GHC == 7.6.3
             , GHC == 7.8.4
             , GHC == 7.10.3
             , GHC == 8.0.2
             , GHC == 8.2.2
             , GHC == 8.4.4
             , GHC == 8.6.5
             , GHC == 8.8.1
extra-source-files:
  .gitignore
  .ghci
  .vim.custom
  .travis.yml
  CHANGELOG.markdown
  README.markdown

source-repository head
  type: git
  location: git://github.com/ekmett/either.git

library
  build-depends:
    base              >= 4       && < 5,
    bifunctors        >= 4       && < 6,
    mtl               >= 2.0     && < 2.3,
    profunctors       >= 4       && < 6,
    semigroupoids     >= 4       && < 6

  if !impl(ghc >= 8.0)
    build-depends: semigroups >= 0.8.3.1 && < 1

  other-extensions: CPP Rank2Types
  ghc-options: -Wall
  hs-source-dirs: src
  default-language: Haskell2010
  exposed-modules:
    Data.Either.Combinators
    Data.Either.Validation

test-suite tests
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs: tests
  build-depends:
    base,
    either,
    test-framework             >= 0.8.1.1 && < 0.9,
    test-framework-quickcheck2 >= 0.3.0.3 && < 0.4,
    QuickCheck                 >= 2.9     && < 2.14
  default-language: Haskell2010