LambdaParam

case class LambdaParam(tl: TypeLambda, n: Int) extends ParamInfo

The parameter of a type lambda

trait Product
trait Equals
trait ParamInfo
class Object
trait Matchable
class Any

Type members

Types

Value members

Concrete methods

The declared variance of this parameter.

The declared variance of this parameter.

Set the declared variance of this parameter.

Set the declared variance of this parameter.

def paramInfo(using Context): PInfo
def paramRef(using Context): Type

The declared or structural variance of this parameter.

The declared or structural variance of this parameter.

Low level getter, only called from Variances.setStructuralVariances

Low level getter, only called from Variances.setStructuralVariances

Low level setter, only called from Variances.setStructuralVariances

Low level setter, only called from Variances.setStructuralVariances

Inherited methods

final def paramVarianceSign(using Context): Int

The variance of the type parameter, as a number -1, 0, +1. Bivariant is mapped to 1, i.e. it is treated like Covariant.

The variance of the type parameter, as a number -1, 0, +1. Bivariant is mapped to 1, i.e. it is treated like Covariant.

Inherited from
ParamInfo
Inherited from
Product