packages feed

lex-applicative-0.0.0.0: lex-applicative.cabal

cabal-version:       2.2
name:                lex-applicative
version:             0.0.0.0
synopsis:            See README for more info
description:         See README for more info
homepage:            https://github.com/strake/lex-applicative.hs
bug-reports:         https://github.com/strake/lex-applicative.hs/issues
license:             BSD-3-Clause
license-file:        LICENSE
author:              M Farkas-Dyck
maintainer:          strake888@gmail.com
copyright:           2019 M Farkas-Dyck
category:            Parsing,Text
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 8.6.5

common c
  build-depends:       base ^>= 4.12 || ^>= 4.13
                     , util ^>= 0.1.15
  ghc-options:         -Wall
                       -Wcompat
                       -Wredundant-constraints
                       -Wno-name-shadowing
                       -Wincomplete-uni-patterns
                       -Wincomplete-record-updates
                       -Werror=incomplete-patterns
                       -Werror=incomplete-uni-patterns
                       -Werror=incomplete-record-updates
                       -Werror=missing-fields
                       -Werror=missing-methods
  default-language:    Haskell2010
  default-extensions:  UnicodeSyntax
                       LambdaCase
                       EmptyCase
                       InstanceSigs
                       PartialTypeSignatures
                       PolyKinds
                       ConstraintKinds
                       FlexibleContexts
                       FlexibleInstances
                       MonadComprehensions
                       StandaloneDeriving
                       DeriveFunctor
                       DeriveFoldable
                       DeriveTraversable

library
  import:              c
  hs-source-dirs:      src
  exposed-modules:     Data.TextPos
                     , Text.Lexer
                     , Text.Regex.Applicative.Lex
  build-depends:       hs-functors ^>= 0.1.4
                     , parser-combinators ^>= 1.2
                     , regex-applicative ^>= 0.3.3
                     , text ^>= 1.2.3
                     , ucd ^>= 0.0.1.3
                     , unicode-transforms ^>= 0.3.6

test-suite test
  import:              c
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       lex-applicative
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N

benchmark bench
  import:              c
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Main.hs
  build-depends:       gauge
                     , lex-applicative
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N

source-repository head
  type:                git
  location:            https://github.com/strake/lex-applicative.hs.git