10.1.4 Linking & Invoking
(require (submod ricoeur/tei/spec-lang private)) |
The (submod ricoeur/tei/spec-lang private) module provides functions for working with elements specification transformers, plus some small utilities useful when writing contracts and constructors in define-element forms.
It is a syntax error if the specs encapsulate duplicate element definitions or if any of the encapsulated definitions refer to elements that are not been defined by one of the specs.
Each binding-clause must appear exactly once, but they may be in any order. If the #:define/contract flag is present, the function bound to xexpr->tei-element-id is protected using define/contract.
For more details on the generated bindings, see tei-xexpr/c, static-tei-xexpr/c, any-tei-xexpr/c, xexpr->tei-element, and tei-element-name/c, which are implemented using define-values/elements-specifications.
It is a syntax error if the specs encapsulate duplicate element definitions, but missing elements are allowed at the linking stage.
10.1.4.1 Additional Helper Functions
(require (submod ricoeur/tei/kernel private)) |
Note that this function does not currently enforce its contract.
Note that this function does not currently enforce its contract.