Next: iklib records defs angular, Previous: iklib records defs methods, Up: iklib records defs [Index]
In a use of the syntax define-record-type
, the definition
clause:
(define-type-descriptors)
defines two additional syntactic bindings: one to access the record–type descriptor, the other to access the default constructor descriptor.
The syntactic identifier bound to the record–type descriptor has name equal to the record–type name with ‘-rtd’ appended. The syntactic identifier bound to the constructor descriptor has name equal to the record–type name with ‘-rcd’ appended. Example:
(define-record-type alpha (define-type-descriptors)) alpha-rtd ⇒ #<record-type-descriptor> alpha-rcd ⇒ #<record-constructor-descriptor>