Uses of Class
fj.parser.Result
-
Packages that use Result Package Description fj Types that set the premise for the existence of Functional Java.fj.parser Parser combinators. -
-
Uses of Result in fj
Methods in fj that return types with arguments of type Result Modifier and Type Method Description static <I,A>
Equal<Result<I,A>>Equal. resultEqual(Equal<A> ea, Equal<I> ei)
static <I,A>
Hash<Result<I,A>>Hash. resultHash(Hash<A> ha, Hash<I> hi)
A hash instance for theResult
type.static <I,A>
Show<Result<I,A>>Show. resultShow(Show<A> sa, Show<I> si)
A show instance for theResult
type. -
Uses of Result in fj.parser
Fields in fj.parser with type parameters of type Result Modifier and Type Field Description private F<I,Validation<E,Result<I,A>>>
Parser. f
Methods in fj.parser that return Result Modifier and Type Method Description <B,J>
Result<J,B>Result. bimap(F<I,J> f, F<A,B> g)
A bifunctor map across both the remainder of the parse input and the parse value.<J> Result<J,A>
Result. mapRest(F<I,J> f)
Maps the given function across the remainder of the parse input.<B> Result<I,B>
Result. mapValue(F<A,B> f)
Maps the given function across the parse value.static <A,I>
Result<I,A>Result. result(I i, A a)
Construct a result with the given remainder of the parse input and parse value.Methods in fj.parser that return types with arguments of type Result Modifier and Type Method Description <B,J>
F<F<I,J>,F<F<A,B>,Result<J,B>>>Result. bimap()
First-class bifunctor map.<J> F<F<I,J>,Result<J,A>>
Result. mapRest()
First-class function mapping across the remainder of the parse input.<B> F<F<A,B>,Result<I,B>>
Result. mapValue()
First-class function mapping across the parse value.Validation<E,Result<I,A>>
Parser. parse(I i)
Parses the input to produce a result or error.static <A,I>
F<I,F<A,Result<I,A>>>Result. result()
First-class construction of a result.Method parameters in fj.parser with type arguments of type Result Modifier and Type Method Description static <I,A,E>
Parser<I,A,E>Parser. parser(F<I,Validation<E,Result<I,A>>> f)
Returns a parser that computes using the given function.Constructor parameters in fj.parser with type arguments of type Result Constructor Description Parser(F<I,Validation<E,Result<I,A>>> f)
-