Pair

final class Pair[A, B](a: Domain[A], b: Domain[B]) extends Domain[(A, B)]
trait Domain[(A, B)]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def apply(i: Int): (A, B)
Definition Classes

Inherited methods

def ***[B](b: Domain[B]): Domain[((A, B), B)]
Inherited from
Domain
def +++[B](b: Domain[B]): Domain[Either[(A, B), B]]
Inherited from
Domain
@inline
def either[B](b: Domain[B]): Domain[Either[(A, B), B]]
Inherited from
Domain
def iterator: Iterator[(A, B)]
Inherited from
Domain
def map[B](f: (A, B) => B): Domain[B]
Inherited from
Domain
def option: Domain[Option[(A, B)]]
Inherited from
Domain
def pair: Domain[((A, B), (A, B))]
Inherited from
Domain
def subst[B >: (A, B)]: Domain[B]
Inherited from
Domain
def triple: Domain[((A, B), (A, B), (A, B))]
Inherited from
Domain

Concrete fields

override val size: Int