darcs-2.2.0: a distributed, interactive, smart revision control systemSource codeContentsIndex
Darcs.Patch.ReadMonads
Documentation
class Monad m => ParserM m whereSource
Methods
work :: (ByteString -> Maybe (a, ByteString)) -> m aSource
maybe_work :: (ByteString -> Maybe (a, ByteString)) -> m (Maybe a)Source
peek_input :: m ByteStringSource
show/hide Instances
alter_input :: ParserM m => (ByteString -> ByteString) -> m ()Source
parse_strictly :: SM a -> ByteString -> Maybe (a, ByteString)Source
parse_lazily :: LM a -> ByteString -> (a, ByteString)Source
lex_char :: ParserM m => Char -> m ()Source
lex_string :: ParserM m => String -> m ()Source
lex_strings :: ParserM m => [String] -> m StringSource
lex_eof :: ParserM m => m ()Source
my_lex :: ByteString -> Maybe (ByteString, ByteString)Source
Produced by Haddock version 2.4.2