Attributes
Members list
Type members
Classlikes
Type wrapper carrying annotations (e.g., @UplcRepr on function parameters). Transparent in most contexts — unwrap like TypeProxy. The annotation is meaningful when computing representations.
Type wrapper carrying annotations (e.g., @UplcRepr on function parameters). Transparent in most contexts — unwrap like TypeProxy. The annotation is meaningful when computing representations.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SIRTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
- Self type
-
BLS12_381_G1_Element.type
Attributes
- Supertypes
- Self type
-
BLS12_381_G2_Element.type
Attributes
- Supertypes
- Self type
-
BLS12_381_MlResult.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuiltinArray.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuiltinList.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuiltinPair.type
Attributes
- Supertypes
- Self type
-
BuiltinValue.type
Attributes
- Supertypes
- Self type
-
ByteString.type
Attributes
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SIRTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait SIRTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
FreeUnificator.type
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SIRTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PairList.type
Attributes
- Supertypes
- Known subtypes
-
object BLS12_381_G1_Elementobject BLS12_381_G2_Elementobject BLS12_381_MlResultobject Booleanobject BuiltinValueobject ByteStringobject Integerobject Stringobject UnitShow all
Attributes
- Supertypes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SIRTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Producttrait Equalsclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TypeLambda.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TypeLambda2.type
Represents a package or companion object of a case class. Note, that case objects going to case-class.
Represents a package or companion object of a case class. Note, that case objects going to case-class.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SIRTypeclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait SIRTypeclass Objecttrait Matchableclass AnyShow all
- Self type
-
TypeNothing.type
Type variable have two forms: when id is not set, that means that for each instantiation of type-lambda, a new set of type-variables with fresh id-s are created. when id is set, that means that computations are situated in the process of instantiation of some type-lambda.
Type variable have two forms: when id is not set, that means that for each instantiation of type-lambda, a new set of type-variables with fresh id-s are created. when id is set, that means that computations are situated in the process of instantiation of some type-lambda.
Equality (equals/hashCode) deliberately ignores kind — substitution and unification key on identity (name, optId), while kind is semantic metadata about the representation policy. A Transparent and an Unwrapped TypeVar with the same (name, optId) are the SAME variable from substitution's point of view, differing only in how lowering picks its runtime representation.
Not a case class because the auto-generated equals/hashCode include every field; custom apply/unapply/copy are provided for source-level compatibility.
Value parameters
- kind
-
controls representation during lowering. See TypeVarKind.
Attributes
- Companion
- object
- Supertypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Kind of a type variable, controlling its representation during lowering.
Kind of a type variable, controlling its representation during lowering.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TypeVarKind.type
Value members
Concrete methods
Calculate the type of the application of function f to argument arg.
Calculate the type of the application of function f to argument arg.
Attributes
Return CaseClass, leave free type-vars in type-lambda
Return CaseClass, leave free type-vars in type-lambda
Attributes
Trip-wire helper: returns true if tp contains anywhere a List[List[…List[X]…]] chain of at least depth nested List applications. Walks through Fun, TypeLambda, CaseClass, SumCaseClass arguments, and TypeProxy. Used by diagnostic assertions that catch runaway type wrapping.
Trip-wire helper: returns true if tp contains anywhere a List[List[…List[X]…]] chain of at least depth nested List applications. Walks through Fun, TypeLambda, CaseClass, SumCaseClass arguments, and TypeProxy. Used by diagnostic assertions that catch runaway type wrapping.
Attributes
Check if the type is a function or a polymorphic function without unfolding type arguments. (i.e. isPolyFunOrFun(SIRType.Fun(SIRType.Unit, SIRType.Unit)) == true, isPolyFunOrFun(SIRType.TypeVar("A")) == false even if A is a needed function)
Check if the type is a function or a polymorphic function without unfolding type arguments. (i.e. isPolyFunOrFun(SIRType.Fun(SIRType.Unit, SIRType.Unit)) == true, isPolyFunOrFun(SIRType.TypeVar("A")) == false even if A is a needed function)
Value parameters
- tp
-
- type to check
- trace
-
- trace for recursive entries
Attributes
Check if the type is a function or a polymorphic function from unit without unfolding type arguments. (i.e. isPolyFunOrFunUnit(SIRType.Fun(SIRType.Unit, SIRType.Unit)) == true, isPolyFunOrFunInut(SIRType.Fun(SIRType.Integer, SIRType.Unit)) == false, isPolyFunOrFunUnt(SIRType.TypeVar("A")) == false even if A is a needed function)
Check if the type is a function or a polymorphic function from unit without unfolding type arguments. (i.e. isPolyFunOrFunUnit(SIRType.Fun(SIRType.Unit, SIRType.Unit)) == true, isPolyFunOrFunInut(SIRType.Fun(SIRType.Integer, SIRType.Unit)) == false, isPolyFunOrFunUnt(SIRType.TypeVar("A")) == false even if A is a needed function)
Value parameters
- tp
-
- type to check
- trace
-
- trace for recursive entries
Attributes
Transform all TypeVars in a type using the given function. Uses IdentityHashMap to prevent infinite recursion on TypeProxy cycles.
Transform all TypeVars in a type using the given function. Uses IdentityHashMap to prevent infinite recursion on TypeProxy cycles.
Attributes
Unroll TypeProxy to get the actual type it references
Unroll TypeProxy to get the actual type it references
Follows TypeProxy.ref chain until a non-proxy type is found. Returns the original type if it's not a TypeProxy.
Value parameters
- tp
-
The type to unroll
Attributes
- Returns
-
The unrolled type (non-proxy)