ASGRE

coulomb.ops.algebra.refined.all$.infra$.ASGRE
class ASGRE[V, P](using alg: AdditiveSemigroup[Refined[V, P]]) extends AdditiveSemigroup[Either[String, Refined[V, P]]]

Attributes

Source:
all.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def plus(x: Either[String, Refined[V, P]], y: Either[String, Refined[V, P]]): Either[String, Refined[V, P]]

Attributes

Source:
all.scala

Inherited methods

Attributes

Inherited from:
AdditiveSemigroup
Source:
Additive.scala
def sumN(a: Either[String, Refined[V, P]], n: Int): A

Attributes

Inherited from:
AdditiveSemigroup
Source:
Additive.scala

Given a sequence of as, combine them and return the total.

Given a sequence of as, combine them and return the total.

If the sequence is empty, returns None. Otherwise, returns Some(total).

Attributes

Inherited from:
AdditiveSemigroup
Source:
Additive.scala