Skip to main content

Module type_check

Module type_check 

Source
Expand description

Type conformance: entity types, scalars, enumerations, selects.

§Internals

  • scalar: EXPRESS primitives and the forms they accept
  • enumeration: enumeration membership
  • select: SELECT membership as a graph walk
  • typed: the form a value must take – typed parameter or bare
  • aggregate: the element type an aggregate value is checked against
  • defined: one value against one declared type
  • entity: the per-entity sweep that reports findings

Enums§

Mismatch
Why a value does not fit its declared type.
Primitive
The EXPRESS primitive a defined type bottoms out in.

Functions§

abstract_instances
Reports instances of ABSTRACT entities.
attribute_types
Reports values that do not match their slot’s declared type.
check
Every type check, in a fixed order.
check_value
Checks one value against one declared type name.
check_value_all
Every independent way one value fails one declared type name, in the order the value is written.
unknown_entity_types
Reports entities whose type the schema does not declare.