Parser
Parser > Parser
ParseResult
Parser > ParseResult
buildPrimitiveParser
(input -> ParseResult input a) -> Parser input a
Parser > buildPrimitiveParser
parsePartial
Parser input a, input -> ParseResult input a
Parser > parsePartial
parse
Parser input a, input, (input -> Bool) -> Result a [ ParsingFailure Str, ParsingIncomplete input ]
Parser > parse
fail
Str -> Parser * *
Parser > fail
const
a -> Parser * a
Parser > const
alt
Parser input a, Parser input a -> Parser input a
Parser > alt
apply
Parser input (a -> b), Parser input a -> Parser input b
Parser > apply
oneOf
List (Parser input a) -> Parser input a
Parser > oneOf
map
Parser input a, (a -> b) -> Parser input b
Parser > map
map2
Parser input a, Parser input b, (a, b -> c) -> Parser input c
Parser > map2
map3
Parser input a, Parser input b, Parser input c, (a, b, c -> d) -> Parser input d
Parser > map3
flatten
Parser input (Result a Str) -> Parser input a
Parser > flatten
lazy
({} -> Parser input a) -> Parser input a
Parser > lazy
maybe
Parser input a -> Parser input (Result a [Nothing])
Parser > maybe
many
Parser input a -> Parser input (List a)
Parser > many
oneOrMore
Parser > oneOrMore
between
Parser input a, Parser input open, Parser input close -> Parser input a
Parser > between
sepBy1
Parser input a, Parser input sep -> Parser input (List a)
Parser > sepBy1
sepBy
Parser > sepBy
ignore
Parser input a -> Parser input {}
Parser > ignore
keep
Parser > keep
skip
Parser input a, Parser input * -> Parser input a
Parser > skip
chompUntil
a -> Parser (List a) (List a) where a implements Eq
Parser > chompUntil
chompWhile
(a -> Bool) -> Parser (List a) (List a) where a implements Eq
Parser > chompWhile
Utf8
String > Utf8
parseStr
Parser Utf8 a, Str -> Result a [ ParsingFailure Str, ParsingIncomplete Str ]
String > parseStr
parseStrPartial
Parser Utf8 a, Str -> Parser.ParseResult Str a
String > parseStrPartial
parseUtf8
Parser Utf8 a, Utf8 -> Result a [ ParsingFailure Str, ParsingIncomplete Utf8 ]
String > parseUtf8
parseUtf8Partial
Parser Utf8 a, Utf8 -> Parser.ParseResult Utf8 a
String > parseUtf8Partial
codeunitSatisfies
(U8 -> Bool) -> Parser Utf8 U8
String > codeunitSatisfies
codeunit
U8 -> Parser Utf8 U8
String > codeunit
utf8
List U8 -> Parser Utf8 (List U8)
String > utf8
string
Str -> Parser Utf8 Str
String > string
anyCodeunit
Parser Utf8 U8
String > anyCodeunit
anyThing
Parser Utf8 Utf8
String > anyThing
anyString
Parser Utf8 Str
String > anyString
digit
Parser Utf8 U64
String > digit
digits
String > digits
List (Parser Utf8 a) -> Parser Utf8 a
String > oneOf
strFromUtf8
Utf8 -> Str
String > strFromUtf8
strFromAscii
U8 -> Str
String > strFromAscii
CSV
CSV > CSV
CSVRecord
CSV > CSVRecord
Parser CSVRecord a, Str -> Result (List a) [ ParsingFailure Str, SyntaxError Str, ParsingIncomplete CSVRecord ]
CSV > parseStr
parseCSV
Parser CSVRecord a, CSV -> Result (List a) [ ParsingFailure Str, ParsingIncomplete CSVRecord ]
CSV > parseCSV
record
a -> Parser CSVRecord a
CSV > record
field
Parser String.Utf8 a -> Parser CSVRecord a
CSV > field
Parser CSVField Str
CSV > string
u64
Parser CSVField U64
CSV > u64
f64
Parser CSVField F64
CSV > f64
parseStrToCSVRecord
Str -> Result CSVRecord [ ParsingFailure Str, ParsingIncomplete String.Utf8 ]
CSV > parseStrToCSVRecord
file
Parser String.Utf8 CSV
CSV > file
Request
HTTP > Request
Response
HTTP > Response
request
Parser String.Utf8 Request
HTTP > request
response
Parser String.Utf8 Response
HTTP > response
Markdown
Markdown > Markdown
all
Parser String.Utf8 (List Markdown)
Markdown > all
heading
Parser String.Utf8 Markdown
Markdown > heading
link
Markdown > link
image
Markdown > image
code
Markdown > code
Xml
Xml > Xml
XmlDeclaration
Xml > XmlDeclaration
XmlVersion
Xml > XmlVersion
Node
Xml > Node
Attribute
Xml > Attribute
xmlParser
Parser Utf8 Xml
Xml > xmlParser
Original author: Johannes Maas
Following the specification from https://www.w3.org/TR/2008/REC-xml-20081126/