Skip to main content

Module flags

Module flags 

Source
Expand description

View::flags bits. They describe a value’s representation, never its identity: hashing, equality, order and interning ignore them (03-value-model.md §8, §11.5 rule 6).

Constants§

CONCRETE
A cached proof, set only by builders that checked every child: the node is an eager Set, IntFcn or Fcn and every descendant is materialized (compare::materialized). Its absence proves nothing; the full check then runs. It is not representation or identity: interning, codecs and exchange ignore it.
HISTORY
The view bits: a node carrying one is a lazy view, so it is interned apart from identities (03-value-model.md §11.3). Retired: the construction-history bit of older Store images, worker exchanges and candidate records (ADR0131). Nothing sets it; every decoder refuses it by name (“legacy construction history”).
LAZY
The value contains a super::Kind::Lambda or super::Kind::SetPred node, so only the evaluator can close it.
NESTED_VIEW
A representation-preserving parent contains a child view. It belongs to the structural persistent class even when it is itself a general function. This is not a literal-class or normalization-history proof.
RECORD
The function was built by a record literal (TLC’s RecordValue), not by :>, @@ or a constructor (FcnRcdValue) (02-semantic-contract.md C5). Set only on a Fcn node. Canonical identity interning drops it; its absence there is not provenance.
TUPLE
The function was built by a tuple literal (TLC’s TupleValue), not as a function over 1..n (FcnRcdValue) (02-semantic-contract.md C2). Set only on an IntFcn node with lo = 1. An identity handle without the bit is not proof of its original receiver class.
UNNORM
TLC’s isNorm is false: the node is a super::Kind::SetEnum in construction order (02-semantic-contract.md C1).
VIEW
All observable representation bits.