types/types library

Classes

Failed<ResultType>
Failure<ResultType>
FormField<T>
When providing data to a form and then passing it forward, for instance, in a request body, one problem that is common here is the need of dealing with the cases where the field is not filled, and than one might need to treat every possible resulting Map (json) separetily, either passing the not filled field with no value or not passing it at all.
Idle<ResultType>
Just<T>
Loading<ResultType>
Maybe<T>
Dealing with optional values ​​in ui has always been verbose and unsafe. So the
Nothing<T>
RequestStatus<ResultType>
When one is dealing with ui responses to different request states, in the course of it, usually there are four states of interest Idle, Loading, Succeded or Failed.
Result<ResultType>
Every asynchronus task can have two possible outcomes as a Result. It is either a Success or a Failure. So the
Succeeded<ResultType>
Success<ResultType>

Extensions

MaybeRecordX on (Maybe<K>, Maybe<J>)