sealed
trait
|[A, B] extends AnyRef
Value Members
-
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (|[A, B], B)
-
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
ensuring(cond: (|[A, B]) ⇒ Boolean, msg: ⇒ scala.Any): |[A, B]
-
def
ensuring(cond: (|[A, B]) ⇒ Boolean): |[A, B]
-
def
ensuring(cond: Boolean, msg: ⇒ scala.Any): |[A, B]
-
def
ensuring(cond: Boolean): |[A, B]
-
-
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
merge[B](implicit ev: Evidence[|[A, B], B]): B
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
self: |[A, B]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (|[A, B], B)
Inherited by implicit conversion from from
|[A, B] to |[B1, B2]
Inherited by implicit conversion UnionOps from
|[A, B] to UnionOps[|[A, B]]
Inherited by implicit conversion any2stringadd from
|[A, B] to any2stringadd[|[A, B]]
Inherited by implicit conversion StringFormat from
|[A, B] to StringFormat[|[A, B]]
Inherited by implicit conversion Ensuring from
|[A, B] to Ensuring[|[A, B]]
Inherited by implicit conversion ArrowAssoc from
|[A, B] to ArrowAssoc[|[A, B]]
Value of type A or B (union type).
Scala does not have union types, but they are important to many interoperability scenarios. This type provides a (partial) encoding of union types using implicit evidences.