name: wai-predicates version: 1.0.0 synopsis: WAI request predicates license: OtherLicense license-file: LICENSE author: Toralf Wittner maintainer: Toralf Wittner copyright: (C) 2014-2016 Toralf Wittner homepage: https://gitlab.com/twittner/wai-predicates/ bug-reports: https://gitlab.com/twittner/wai-predicates/issues stability: experimental category: Web build-type: Simple cabal-version: >= 1.10 extra-source-files: README.md CHANGELOG CONTRIBUTING description: Evaluate predicate functions against WAI requests and receive metadata in addition to a success/failure indicator. Predicates can be combined using logical connectives and the metadata are passed on accordingly. . extends the functionality of @wai-predicates@ with additional predicates and predicated request routing. source-repository head type: git location: git@gitlab.com:twittner/wai-predicates.git library default-language: Haskell2010 hs-source-dirs: src ghc-options: -Wall -O2 -fwarn-tabs -funbox-strict-fields exposed-modules: Data.Predicate Network.Wai.Predicate Network.Wai.Predicate.Error Network.Wai.Predicate.MediaType Network.Wai.Predicate.Request Network.Wai.Predicate.Utility other-modules: Data.Predicate.Product Data.Predicate.Result Network.Wai.Predicate.Accept Network.Wai.Predicate.Content Network.Wai.Predicate.Parser.MediaType build-depends: attoparsec >= 0.10 , base >= 4.6 && < 5.0 , bytestring >= 0.10 , bytestring-conversion >= 0.2 , cookie >= 0.4 , case-insensitive >= 1.1 , http-types >= 0.8 , singletons >= 0.10 , text >= 1.2 , transformers >= 0.3 , vault >= 0.3 , vector >= 0.10 , wai >= 2.0 test-suite wai-predicate-tests type: exitcode-stdio-1.0 default-language: Haskell2010 hs-source-dirs: test main-is: TestSuite.hs ghc-options: -Wall -O2 -fwarn-tabs other-modules: Tests.Data.Predicate Tests.Wai.Predicate Tests.Wai.Util build-depends: base , blaze-builder >= 0.3 , bytestring , case-insensitive , http-types , tasty >= 0.8 , tasty-hunit >= 0.9 , tasty-quickcheck >= 0.8 , wai , wai-predicates