A common super-class for unsuccessful parse results.
Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
Members list
Value members
Concrete methods
Returns the embedded result.
Returns the embedded result.
Attributes
Functional composition of ParseResults.
Functional composition of ParseResults.
Value parameters
- f
-
the function to be lifted over this result
Attributes
- Returns
-
f
applied to the result of thisParseResult
, packaged up as a newParseResult
Partial functional composition of ParseResults.
Partial functional composition of ParseResults.
Value parameters
- error
-
a function that takes the same argument as
f
and produces an error message to explain whyf
wasn't applicable (it is called when this is the case) - f
-
the partial function to be lifted over this result
Attributes
- Returns
-
if
f
f is defined at the result in thisParseResult
,f
applied to the result of thisParseResult
, packaged up as a newParseResult
. Iff
is not defined,Failure
.
Inherited methods
Attributes
- Inherited from:
- ParseResult
Attributes
- Inherited from:
- ParseResult
Attributes
- Inherited from:
- ParseResult