Package com.jnape.palatable.lambda.adt
-
Class Summary Class Description Either<L,R> The binary tagged union, implemented as a specializedCoProduct2.Either.Left<L,R> Either.Right<L,R> Maybe<A> The optional type, representing a potentially absent value.Maybe.Just<A> Maybe.Nothing<A> These<A,B> The coproduct of a coproduct () and its product (CoProduct2<A, B>), represented as aTuple2<A, B>.CoProduct3<A, B,Tuple2<A, B>>These._A<A,B> These._B<A,B> These.Both<A,B> Try<A> AMonadof the evaluation outcome of an expression that might throw.Try.Failure<A> Try.Success<A> Unit The empty return type.