summaryrefslogtreecommitdiff
path: root/profunctors.cabal
blob: c99317734e1505f8620902d4cb3e725227e27607 (plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name:          profunctors
category:      Control, Categories
version:       5.5.2
license:       BSD3
cabal-version: >= 1.10
license-file:  LICENSE
author:        Edward A. Kmett
maintainer:    Edward A. Kmett <ekmett@gmail.com>
stability:     experimental
homepage:      http://github.com/ekmett/profunctors/
bug-reports:   http://github.com/ekmett/profunctors/issues
copyright:     Copyright (C) 2011-2015 Edward A. Kmett
synopsis:      Profunctors
description:   Profunctors.
tested-with:   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
build-type:    Simple
extra-source-files:
  .ghci
  .gitignore
  .hlint.yaml
  .travis.yml
  .vim.custom
  README.markdown
  CHANGELOG.markdown

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

library
  build-depends:
    base                >= 4.7   && < 5,
    base-orphans        >= 0.4   && < 0.9,
    bifunctors          >= 5.2   && < 6,
    comonad             >= 4     && < 6,
    contravariant       >= 1     && < 2,
    distributive        >= 0.4.4 && < 1,
    tagged              >= 0.4.4 && < 1,
    transformers        >= 0.2   && < 0.6

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

  exposed-modules:
    Data.Profunctor
    Data.Profunctor.Adjunction
    Data.Profunctor.Cayley
    Data.Profunctor.Choice
    Data.Profunctor.Closed
    Data.Profunctor.Composition
    Data.Profunctor.Mapping
    Data.Profunctor.Monad
    Data.Profunctor.Ran
    Data.Profunctor.Rep
    Data.Profunctor.Sieve
    Data.Profunctor.Strong
    Data.Profunctor.Traversing
    Data.Profunctor.Types
    Data.Profunctor.Unsafe
    Data.Profunctor.Yoneda

  ghc-options:     -Wall -O2

  if impl(ghc>=8.0)
    ghc-options: -Wno-trustworthy-safe

  hs-source-dirs:  src

  default-language: Haskell2010
  other-extensions:
    CPP
    GADTs
    FlexibleContexts
    FlexibleInstances
    InstanceSigs
    UndecidableInstances
    TypeFamilies