Copyright | Alej Cabrera 2015 |
---|---|
License | BSD-3 |
Maintainer | cpp.cabrera@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- header :: (Text -> P a) -> CI Text -> Env -> P a
- headerM :: (Text -> P a) -> CI Text -> Env -> P (Maybe a)
- qParam :: (Text -> P a) -> Text -> Env -> P a
- qParamM :: (Text -> P a) -> Text -> Env -> P (Maybe a)
- fParam :: (Text -> P a) -> Text -> Env -> P a
- fParamM :: (Text -> P a) -> Text -> Env -> P (Maybe a)
- int :: (Read a, Integral a) => Text -> P a
- bool :: Text -> P Bool
- float :: (Read a, Fractional a) => Text -> P a
Documentation
headerM :: (Text -> P a) -> CI Text -> Env -> P (Maybe a) Source
Optional header, apply a function to it
qParam :: (Text -> P a) -> Text -> Env -> P a Source
Required query parameter, apply a function to it
qParamM :: (Text -> P a) -> Text -> Env -> P (Maybe a) Source
Optional query parameter, apply a function to it
fParamM :: (Text -> P a) -> Text -> Env -> P (Maybe a) Source
Optional form parameter, apply a function to it
float :: (Read a, Fractional a) => Text -> P a Source