packages feed

indentation-0.2.0.0: indentation.cabal

name:                indentation
version:             0.2.0.0
synopsis:            Indentation sensitive parsing combinators for Parsec
-- description:
license:             BSD3
license-file:        LICENSE
author:              Michael D. Adams <http://michaeldadams.org/>
maintainer:          Ömer Sinan Ağacan <omeragacan@gmail.com>
category:            Parsing
build-type:          Simple
cabal-version:       >=1.10

homepage:            https://bitbucket.org/mdmkolbe/indentation
bug-reports:         https://bitbucket.org/mdmkolbe/indentation/issues

source-repository head
  type:                git
  location:            https://bitbucket.org/mdmkolbe/indentation.git

library
  exposed-modules:     Text.Parser.Indentation.Implementation
  build-depends:       base >=4.6 && <4.8,
                       mtl >=2.1 && <2.2

  if flag(Parsec)
    build-depends:     parsec ==3.1.*
    exposed-modules:   Text.Parsec.Indentation
                     , Text.Parsec.Indentation.Char
                     , Text.Parsec.Indentation.Token

  if flag(Trifecta)
    build-depends:     trifecta ==1.4.*,
                       parsers ==0.11.0.*
    exposed-modules:   Text.Trifecta.Indentation

  default-language:    Haskell2010

  ghc-options:         -Wall

flag Parsec
  description:       Include indentation operators for Parsec
  manual:            True

flag Trifecta
  description:       Include indentation operators for Trifecta
  manual:            True