A parser that will return all the strings passed to it.
A parser that will return all the strings passed to it.
Create a parser from a string
Create a parser from a string
The type to parse
The function to transform the string with
Parse a string with a try
Parse a string with a try
The type to parse
The function to transform the string with.
Same as fromTry but with a custom error.
Same as fromTry but with a custom error.
The type to parse
The error message to use
The function to transform the string with.
A parser that will only succeed if there are no strings left.
A parser that will only succeed if there are no strings left.
Parse a message as an type
Parse a message as an type
The type to parse the message as
The message to parse
The parser to use
The cache to use
Left with an error message if it failed to parse, or Right with the parsed type
Parse a string with a function that can throw
Parse a string with a function that can throw
The type to parse
The function to transform the string with. This can throw an exception