Bound

abstract class Bound(source)

Bounds are defined for Inference Variables.

Author

Federico Tomassetti

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Other bounds relate two inference variables, or an inference variable to a type that contains inference variables.
Link copied to clipboard
Given a bound of the form α = T or T = α, we say T is an instantiation of α.
Link copied to clipboard
Given a bound of the form T <: α, we say T is a proper lower bound of α.
Link copied to clipboard
Given a bound of the form α <: T, we say T is a proper upper bound of α.
Link copied to clipboard
abstract fun isSatisfied(inferenceVariableSubstitution: InferenceVariableSubstitution): Boolean
A bound is satisfied by an inference variable substitution if, after applying the substitution, the assertion is true.
Link copied to clipboard
Other methods