Attributes
- Companion
- trait
- Source
- TypeId.scala
- Graph
-
- Supertypes
- Self type
-
TypeId.type
Members list
Type members
Classlikes
Attributes
- Source
- TypeId.scala
- Supertypes
- Self type
-
Alias.type
Attributes
- Source
- TypeId.scala
- Supertypes
- Self type
-
Enum.type
Attributes
- Source
- TypeId.scala
- Supertypes
- Self type
-
Nominal.type
Attributes
- Source
- TypeId.scala
- Supertypes
- Self type
-
Opaque.type
Attributes
- Source
- TypeId.scala
- Supertypes
- Self type
-
Sealed.type
Value members
Concrete methods
Attributes
- Source
- TypeId.scala
Creates an applied type from a type constructor and type arguments. For example: applied(TypeId.list, TypeRepr.Ref(TypeId.int)) creates List[Int]
Creates an applied type from a type constructor and type arguments. For example: applied(TypeId.list, TypeRepr.Ref(TypeId.int)) creates List[Int]
Attributes
- Source
- TypeId.scala
Attributes
- Source
- TypeId.scala
Attributes
- Source
- TypeId.scala
Attributes
- Source
- TypeId.scala
Attributes
- Source
- TypeId.scala
Attributes
- Source
- TypeId.scala
Attributes
- Source
- TypeId.scala
Attributes
- Source
- TypeId.scala
Returns the type constructor by stripping all type arguments.
Returns the type constructor by stripping all type arguments.
For example, TypeId.unapplied(TypeId.of[List[Int]]) returns a TypeId equivalent to TypeId.of[List] (the unapplied type constructor).
This is useful for TypeRegistry lookups where Seq/Map bindings are stored by their type constructor rather than applied types.
Value parameters
- id
-
The TypeId to unapply
Attributes
- Returns
-
A TypeId with empty typeArgs representing the type constructor
- Source
- TypeId.scala
Givens
Givens
Attributes
- Source
- TypeId.scala
Inherited givens
Derives a TypeId for any type or type constructor.
Derives a TypeId for any type or type constructor.
This given has lower priority than predefined instances in TypeIdInstances, so for types like Int, String, etc., the predefined instances will be used instead of macro derivation.
Attributes
- Inherited from:
- TypeIdLowPriority
- Source
- TypeIdLowPriority.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala
Attributes
- Inherited from:
- TypeIdInstances
- Source
- TypeIdInstances.scala