name: snap-predicates
version: 0.1.0
synopsis: Predicates for route definitions.
license: MIT
license-file: LICENSE
author: Toralf Wittner, Brendan Hay
maintainer: Toralf Wittner <tw@dtex.org>
copyright: Copyright (c) 2013 Toralf Wittner, Brendan Hay
stability: experimental
category: Snap
build-type: Simple
cabal-version: >= 1.10
extra-source-files: README.md
description:
Provides a definition of a predicate type-class together
with several concrete implementations which are used to
constrain the set of possible Snap handlers in a type-safe
way.
library
default-language: Haskell2010
hs-source-dirs: src
ghc-options: -Wall -O2 -fwarn-tabs -funbox-strict-fields
ghc-prof-options: -prof -auto-all
exposed-modules:
Data.Predicate
, Snap.Predicates
, Snap.Routes
, Snap.Predicates.Tutorial
build-depends:
base >= 4 && < 5
, transformers >= 0.3
, bytestring >= 0.9
, containers >= 0.5
, case-insensitive >= 1.0
, snap-core >= 0.9
other-extensions:
BangPatterns
, FlexibleInstances
, GADTs
, MultiParamTypeClasses
, OverloadedStrings
, TypeFamilies
, TypeOperators
test-suite snap-predicates-test-suite
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: src test
main-is: TestSuite.hs
ghc-options: -Wall -O2 -fwarn-tabs -funbox-strict-fields
ghc-prof-options: -prof -auto-all
other-modules:
Tests.Data.Predicate
, Tests.Snap.Predicates
, Tests.Snap.Routes
build-depends:
base >= 4 && < 5
, transformers >= 0.3
, bytestring >= 0.9
, containers >= 0.5
, case-insensitive >= 1.0
, snap-core >= 0.9
, HUnit >= 1.2
, QuickCheck >= 2.3
, test-framework >= 0.8
, test-framework-hunit >= 0.2
, test-framework-quickcheck2 >= 0.2
other-extensions:
BangPatterns
, FlexibleInstances
, GADTs
, MultiParamTypeClasses
, OverloadedStrings
, TypeFamilies
, TypeOperators
source-repository head
type: git
location: https://github.com/twittner/snap-predicates