Expand description
Shape reports: the contract for diagnostics from shape
checks.
The kernel defines the report record built from a shape match and the satisfaction-claim it publishes; libraries produce reports by running the shape protocol.
Structs§
- Shape
Report - The canonical record of a shape check: who was checked against what, the outcome, and the diagnostics.
Functions§
- check_
value_ report - Check
valueagainstshape_value, building aShapeReportand publishing the satisfaction claim when accepted. - insert_
shape_ satisfaction_ claim - Publish the
satisfies-shapeclaim for an accepted report. - satisfies_
shape_ predicate - The predicate symbol (
core/satisfies-shape) used by satisfaction claims. - shape_
report_ from_ match - Intern a
ShapeMatchinto aShapeReportfor the given shape and target references.