Dotty Documentation

0.15.0-bin-SNAPSHOT

abstract class Generic [ T ]
extends Object

A class for mapping between an ADT value and the case mirror that represents the value.

[-] Constructors

Generic ( )

[-] Members

[+] type Shape = Nothing <: Shape
[+] def common : GenericClass

The companion object of the ADT

[+] def reflect ( x: T ) : Mirror

The case mirror corresponding to ADT instance x

[+] def reify ( mirror: Mirror ) : T

The ADT instance corresponding to given mirror