Combines two Either[L, R]
instances associatively.
Combines two Either[L, R]
instances associatively.
result of combining l
and r
Returns an instance of T
calculated by summing all instances in
iter
in one pass.
Returns an instance of T
calculated by summing all instances in
iter
in one pass. Returns None
if iter
is empty, else
Some[T]
.
instances of T
to be combined
None
if iter
is empty, else an option value containing the summed T
Returns the identity element of Either[L, R]
for plus.
Returns the identity element of Either[L, R]
for plus.