File: parser-combinators.cabal

package info (click to toggle)
haskell-parser-combinators 1.3.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 116 kB
  • sloc: haskell: 542; makefile: 5
file content (57 lines) | stat: -rw-r--r-- 1,570 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
cabal-version:   1.18
name:            parser-combinators
version:         1.3.0
license:         BSD3
license-file:    LICENSE.md
maintainer:      Mark Karpov <markkarpov92@gmail.com>
author:
    Mark Karpov <markkarpov92@gmail.com>
    Alex Washburn <github@recursion.ninja>

tested-with:     ghc ==8.6.5 ghc ==8.8.4 ghc ==8.10.3
homepage:        https://github.com/mrkkrp/parser-combinators
bug-reports:     https://github.com/mrkkrp/parser-combinators/issues
synopsis:
    Lightweight package providing commonly useful parser combinators

description:
    Lightweight package providing commonly useful parser combinators.

category:        Parsing
build-type:      Simple
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.
    default:     False
    manual:      True

library
    exposed-modules:
        Control.Applicative.Combinators
        Control.Applicative.Combinators.NonEmpty
        Control.Applicative.Permutations
        Control.Monad.Combinators
        Control.Monad.Combinators.Expr
        Control.Monad.Combinators.NonEmpty
        Control.Monad.Permutations

    default-language: Haskell2010
    build-depends:    base >=4.12 && <5.0

    if flag(dev)
        ghc-options: -Wall -Werror

    else
        ghc-options: -O2 -Wall

    if flag(dev)
        ghc-options:
            -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns
            -Wnoncanonical-monad-instances