trait UnionTypes extends AnyRef
Union types using Curry-Howard isomorphism
- Annotations
- @deprecated
- Deprecated
(Since version 7.1) unboxed union types are deprecated
- Source
- Union.scala
- See also
http://www.chuusai.com/2011/06/09/scala-union-types-curry-howard/
- Alphabetic
- By Inheritance
- UnionTypes
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- type ![A] = (A) ⇒ Nothing
- type !![A] = (![A]) ⇒ Nothing
- type Contains[S, T <: Disj] = <:<[!![S], or[T]]
- case class Converter [S](s: S) extends Product with Serializable
- trait Disj extends AnyRef
- sealed trait Union [T] extends AnyRef
- type or[T <: Disj] = (or.T.D) ⇒ Nothing
- type t[T] = AnyRef { type t[S] = UnionTypes.this.Disj{type D = T => Nothing with S => Nothing} }
- type ∈[S, T <: Disj] = <:<[!![S], or[T]]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def any2Converter[S](s: S): Converter[S]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )