[previous] [up] [next]     [contents] [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, invoke-unit/sig, and invoke-open-unit/sig forms expand into expressions using the unit, compound-unit, invoke-unit, and invoke-open-unit forms, respectively. The exapnsion 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]     [contents] [index]
Next: Exceptions and Control Flow Up: Mixing Core and Signed Previous: Adding a Signature to

PLT