Copyright | Alej Cabrera 2015 |
---|---|
License | BSD-3 |
Maintainer | cpp.cabrera@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- intQ :: (Read a, Integral a) => Text -> Env -> P a
- boolQ :: Text -> Env -> P Bool
- floatQ :: (Read a, Fractional a) => Text -> Env -> P a
- textQ :: Text -> Env -> P Text
- bytesQ :: (Text -> ByteString) -> Text -> Env -> P ByteString
- textQM :: Text -> Env -> P (Maybe Text)
- intQM :: (Read a, Integral a) => Text -> Env -> P (Maybe a)
- floatQM :: (Read a, Fractional a) => Text -> Env -> P (Maybe a)
- bytesQM :: (Text -> ByteString) -> Text -> Env -> P (Maybe ByteString)
- intF :: (Read a, Integral a) => Text -> Env -> P a
- boolF :: Text -> Env -> P Bool
- floatF :: (Read a, Fractional a) => Text -> Env -> P a
- textF :: Text -> Env -> P Text
- bytesF :: (Text -> ByteString) -> Text -> Env -> P ByteString
- textFM :: Text -> Env -> P (Maybe Text)
- intFM :: (Read a, Integral a) => Text -> Env -> P (Maybe a)
- floatFM :: (Read a, Fractional a) => Text -> Env -> P (Maybe a)
- bytesFM :: (Text -> ByteString) -> Text -> Env -> P (Maybe ByteString)
- intH :: (Integral a, Read a) => CI Text -> Env -> P a
- boolH :: CI Text -> Env -> P Bool
- floatH :: (Fractional a, Read a) => CI Text -> Env -> P a
- textH :: CI Text -> Env -> P Text
- bytesH :: (Text -> ByteString) -> CI Text -> Env -> P ByteString
- textHM :: CI Text -> Env -> P (Maybe Text)
- intHM :: (Integral a, Read a) => CI Text -> Env -> P (Maybe a)
- floatHM :: (Fractional a, Read a) => CI Text -> Env -> P (Maybe a)
- bytesHM :: (Text -> ByteString) -> CI Text -> Env -> P (Maybe ByteString)
- choice :: [P a] -> P a
Documentation
floatQ :: (Read a, Fractional a) => Text -> Env -> P a Source
Require a parameter as a fractional type
bytesQ :: (Text -> ByteString) -> Text -> Env -> P ByteString Source
Require a parameter as bytes, applying the encoding function f
floatQM :: (Read a, Fractional a) => Text -> Env -> P (Maybe a) Source
Optional parameter as fractional
bytesQM :: (Text -> ByteString) -> Text -> Env -> P (Maybe ByteString) Source
Optional header as bytes, applying the encoding function f
floatF :: (Read a, Fractional a) => Text -> Env -> P a Source
Require a parameter as a fractional type
bytesF :: (Text -> ByteString) -> Text -> Env -> P ByteString Source
Require a parameter as bytes, applying the encoding function f
floatFM :: (Read a, Fractional a) => Text -> Env -> P (Maybe a) Source
Optional parameter as fractional
bytesFM :: (Text -> ByteString) -> Text -> Env -> P (Maybe ByteString) Source
Optional header as bytes, applying the encoding function f
bytesH :: (Text -> ByteString) -> CI Text -> Env -> P ByteString Source
Require a header as bytes, applying the encoding function f
floatHM :: (Fractional a, Read a) => CI Text -> Env -> P (Maybe a) Source
Optional header as floating
bytesHM :: (Text -> ByteString) -> CI Text -> Env -> P (Maybe ByteString) Source
Optional header as bytes, applying the encoding function f