Copyright | Anders Claesson 2015 |
---|---|
Maintainer | Anders Claesson <anders.claesson@gmail.com> |
Safe Haskell | Safe |
Language | Haskell98 |
License : BSD-3
- bracket :: ByteString -> ByteString
- curly :: ByteString -> ByteString
- paren :: ByteString -> ByteString
- parens :: Parser a -> Parser a
- oneOf :: ByteString -> Parser ByteString
- chainl1 :: (Monad f, Alternative f) => f a -> f (a -> a -> a) -> f a
- parse_ :: Parser t -> ByteString -> Maybe t
Documentation
bracket :: ByteString -> ByteString Source #
curly :: ByteString -> ByteString Source #
paren :: ByteString -> ByteString Source #
oneOf :: ByteString -> Parser ByteString Source #
Parse one of the words in the given ByteString
.
chainl1 :: (Monad f, Alternative f) => f a -> f (a -> a -> a) -> f a Source #
Parse one or more occurrences of p
, separated by an operator.
Returns a value obtained by a left associative application.