File: parser-combinators.cabal

package info (click to toggle)
haskell-parser-combinators 1.0.0-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 112 kB
  • sloc: haskell: 453; makefile: 5
file content (49 lines) | stat: -rw-r--r-- 1,884 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
name:                 parser-combinators
version:              1.0.0
cabal-version:        1.18
tested-with:          GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.2
license:              BSD3
license-file:         LICENSE.md
author:               Mark Karpov <markkarpov92@gmail.com>
maintainer:           Mark Karpov <markkarpov92@gmail.com>
homepage:             https://github.com/mrkkrp/parser-combinators
bug-reports:          https://github.com/mrkkrp/parser-combinators/issues
category:             Parsing
synopsis:             Lightweight package providing commonly useful parser combinators
build-type:           Simple
description:          Lightweight package providing commonly useful parser combinators.
extra-doc-files:      CHANGELOG.md
                    , README.md

source-repository head
  type:               git
  location:           https://github.com/mrkkrp/parser-combinators.git

flag dev
  description:        Turn on development settings.
  manual:             True
  default:            False

library
  build-depends:      base             >= 4.8 && < 5.0

  if !impl(ghc >= 8.0)
    build-depends:    semigroups == 0.18.*

  exposed-modules:    Control.Applicative.Combinators
                    , Control.Applicative.Combinators.NonEmpty
                    , Control.Applicative.Permutations
                    , Control.Monad.Combinators
                    , Control.Monad.Combinators.Expr
                    , Control.Monad.Combinators.NonEmpty
  if flag(dev)
    ghc-options:      -Wall -Werror
  else
    ghc-options:      -O2 -Wall
  if flag(dev) && impl(ghc >= 8.0)
    ghc-options:      -Wcompat
                      -Wincomplete-record-updates
                      -Wincomplete-uni-patterns
                      -Wnoncanonical-monad-instances
                      -Wnoncanonical-monadfail-instances
  default-language:   Haskell2010