Sum

io.hireproof.structure.Structure$.Sum
trait Sum[A] extends Structure[A]

Attributes

Graph
Supertypes
trait Structure[A]
class Object
trait Matchable
class Any
Known subtypes
class Branch[A]
class Result[A]
class Results[A]
class Sum[A]

Members list

Concise view

Type members

Types

type Element[a]
type Group[a] <: Aux[a, Group]

Inherited types

type Self[a] <: Structure[a]

Attributes

Inherited from:
Structure

Value members

Abstract methods

def orElse[T](element: Element[T]): Group[Either[A, T]]
def orElseAll[T](group: Group[T]): Group[Either[A, T]]

Concrete methods

final def ximap[T](implicit evidence: Aux[T, A]): Self[T]
final def |+|[T](element: Element[T]): Group[Either[A, T]]

Inherited methods

final def const(value: => A): Self[Unit]

Attributes

Inherited from:
Structure
final def imap[T](f: A => T)(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def ivalidate[T](validation: Validation[A, T])(g: T => A): Self[T]

Attributes

Inherited from:
Structure
final def merge[T](implicit evidence: Aux[A, T]): Self[T]

Attributes

Inherited from:
Structure
final def validate(validation: Validation[A, A]): Self[A]

Attributes

Inherited from:
Structure