[previous] [up] [next]     [index]
Next: Exceptions and Control Flow Up: Mixing Core and Signed Previous: Adding a Signature to

Expanding Signed Unit Expressions

The unit/sig, compound-unit/sig, and invoke-unit/sig forms expand into expressions using the unit, compound-unit, and invoke-unit forms, respectively. The expansion may also use global-defined-signature rather than inlining a signature that is bound to a global identifier.

A signed unit value is represented by a unit-with-signature structure with the following fields:

To perform the signature checking needed by compound-unit/sig, MzScheme provides two procedures:


[previous] [up] [next]     [index]
Next: Exceptions and Control Flow Up: Mixing Core and Signed Previous: Adding a Signature to

PLT