Package avail.interpreter.primitive.types

Types

Link copied to clipboard
object P_CastInto : Primitive

Primitive: If the second argument, a function, accepts the first argument as its parameter, do the invocation. Otherwise fail the primitive.

Link copied to clipboard
object P_CastIntoElse : Primitive

Primitive: If the second argument, a function, accepts the first argument as its parameter, do the invocation. Otherwise invoke the third argument, a zero-argument function.

Link copied to clipboard
object P_CreateEnumeration : Primitive

Primitive: Create an enumeration from the given set of instances.

Link copied to clipboard
object P_InstanceCount : Primitive

Primitive: How many instances does the specified type have?

Link copied to clipboard
object P_InstanceOfMeta : Primitive

Primitive: Obtain the sole instance, a type, of the specified metatype.

Link copied to clipboard
object P_Instances : Primitive

Primitive: Obtain the instances of the specified type.

Link copied to clipboard
object P_IsInstanceOf : Primitive

Primitive: Answer whether value is an instance of type.

Link copied to clipboard
object P_IsSubtypeOf : Primitive

Primitive: Answer whether type1 is a subtype of type2 (or equal).

Link copied to clipboard
object P_Type : Primitive

Primitive: Answer the type of the given object.

Link copied to clipboard
object P_TypeIntersection : Primitive

Primitive: Answer the type intersection of the specified types.

Link copied to clipboard
object P_TypeUnion : Primitive

Primitive: Answer the type union of the specified types.