Non Empty Set
Constructors
Functions
Properties
Extensions
Combines two structures by taking the union of their shapes and combining the elements with the given function.
Combines two structures by taking the union of their shapes and using Ior to hold the elements.
Returns the first element as Some(element), or None if the iterable is empty.
Returns the first element as Some(element) matching the given predicate, or None if element was not found.
Flatten a list of Either into a single Either with a list of values, or accumulates all errors using combine.
Flatten a list of Either into a single Either with a list of values, or accumulates all errors with into an NonEmptyList.
Returns the last element as Some(element), or None if the iterable is empty.
Returns the last element as Some(element) matching the given predicate, or None if no such element was found.
Returns a List containing the result of applying some transformation (A?, B) -> C on a zip, excluding all cases where the right value is null.
Returns a List> containing the zipped values of the two lists with null for padding on the left.
Returns a List> containing the zipped values of the two lists with null for padding.
Returns a List containing the result of applying some transformation (A?, B?) -> C on a zip.
Returns a List containing the result of applying some transformation (A, B?) -> C on a zip, excluding all cases where the left value is null.
Returns a List> containing the zipped values of the two lists with null for padding on the right.
Separate the inner Either values into the Either.Left and Either.Right.
Separate the inner Validated values into the Validated.Invalid and Validated.Valid.
Returns single element as Some(element), or None if the iterable is empty or has more than one element.
Returns the single element as Some(element) matching the given predicate, or None if element was not found or more than one element was found.