Mapping

io.taig.enumeration.ext.Mapping
See theMapping companion object
sealed abstract class Mapping[A, B] extends Inject[A, B]

Attributes

Companion
object
Graph
Supertypes
class Inject[A, B]
class Object
trait Matchable
class Any
Self type
Mapping[A, B]

Members list

Value members

Abstract methods

def values: NonEmptyList[A]

Concrete methods

final def imap[T](f: A => T)(g: T => A): Mapping[T, B]
final def product[C](mapping: Mapping[C, B])(merge: (B, B) => B, split: B => Option[(B, B)]): Mapping[(A, C), B]

Inherited methods

final def apply(a: A): B

Attributes

Inherited from:
Inject
final def unapply(b: B): Option[A]

Attributes

Inherited from:
Inject

Inherited and Abstract methods

def inj: A => B

Attributes

Inherited from:
Inject
def prj: B => Option[A]

Attributes

Inherited from:
Inject