Parser
Index
Types
Parser[a]
type Parser[a: +*]
Values
empty
empty: forall a: *. Parser[a]
expect
def expect(str: String) -> Parser[()]
flat_map
def flat_map[a, b](p: Parser[a], fn: a -> Parser[b]) -> Parser[b]
map
def map[a, b](p: Parser[a], fn: a -> b) -> Parser[b]
one_of
def one_of[a](ps: List[Parser[a]]) -> Parser[a]
parse
def parse[a](p: Parser[a], str: String) -> Option[a]
The source code for this page can be found here.