Package com.github.tonivade.purefun.type
package com.github.tonivade.purefun.type
-
ClassDescriptionConst<T,
A> ConstOf<T,A> Either<L,R> This type represents two possible values, called left or right.Either.Left<L,R> Either.Right<L,R> EitherOf<L,R> Eval<A>This is a monad that allows to control the evaluation of a computation or a value.Eval.Defer<A>Eval.Done<A>Eval.FlatMapped<A,B> EvalOf<A>Id<T>This is the identity monad.IdOf<T>Option<T>This type represents the presence or absence of a value, similar toOptionalOption.None<T>Option.Some<T>OptionOf<T>Try<T>This type represents the success or failure of a computation.Try.Failure<T>Try.Success<T>TryOf<T>Validation<E,T> This type represents the validity or not of a value.Validation.Invalid<E,T> Validation.Valid<E,T> ValidationOf<E,T>