Skip to main content

Module shape_exports

Module shape_exports 

Source
Expand description

verify_message_shape: a message against a dialect’s (shape …) clauses, as one implementation every binding wraps (SPEC-010 REQ-002). A host that admits frames judges their shape here, never with predicates of its own: the hub and the browser must agree on what a well-shaped frame is (cbcl-rs issue #14).

(verify-shape <dialect-or-chain> <performative> <message>)   → "ok" | blame S-expression

Functions§

verify_message_shape_str
Verify a runtime message against a dialect’s shape constraints.