Copyright | Alej Cabrera 2015 |
---|---|
License | BSD-3 |
Maintainer | cpp.cabrera@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- param :: (Text -> P a) -> Text -> Env -> P a
- paramM :: (Text -> P a) -> Text -> Env -> P (Maybe a)
- header :: (Text -> P a) -> CI Text -> Env -> P a
- headerM :: (Text -> P a) -> CI 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
param :: (Text -> P a) -> Text -> Env -> P a Source
Required parameter from the environment and apply a function to it
paramM :: (Text -> P a) -> Text -> Env -> P (Maybe a) Source
Optional parameter from the environment and apply a function to it
header :: (Text -> P a) -> CI Text -> Env -> P a Source
Required header from the environment and apply a function to it
headerM :: (Text -> P a) -> CI Text -> Env -> P (Maybe a) Source
Optional header from the environment and apply a function to it
float :: (Read a, Fractional a) => Text -> P a Source