Sup

class Sup(val value: () -> A_Type) : TypeTag.Modifier

Every TypeTag has a (potentially infinite) collection of values that use that tag. This specifies a lambda that produces the least upper bound A_Type that constrains all those values.

The lambda will be provided at most once, and only when needed.

Constructors

Link copied to clipboard
fun Sup(value: () -> A_Type)

Functions

Link copied to clipboard
open override fun applyTo(typeTag: TypeTag)

Adjust the TypeTag to accommodate this modifier.

Properties

Link copied to clipboard
val value: () -> A_Type