Class DeriveResult<A>
java.lang.Object
org.derive4j.processor.api.DeriveResult<A>
- Direct Known Subclasses:
DeriveResults.Error, DeriveResults.Lazy, DeriveResults.Result
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<B> DeriveResult<B> bind(Function<A, DeriveResult<B>> f) static <A> DeriveResult<A> error(DeriveMessage errorMsg) <B> DeriveResult<B> abstract <R> Rmatch(Function<DeriveMessage, R> error, Function<A, R> result) static <A> DeriveResult<A> result(A result)
-
Constructor Details
-
DeriveResult
DeriveResult()
-
-
Method Details
-
error
-
result
-
map
-
bind
-
match
-