Next: iklib records predicates, Up: iklib records [Index]
Defined by R6RS. Define a new R6RS record type; define-record-type. This syntax supports some Vicare extensions.
When the selected language is non–strict R6RS: multiple
fields
clauses are accepted and the field specifications
concatenated in the order in which they are given. Example:
(define-record-type alpha (fields a) (fields b) (fields c)) (define O (make-alpha 1 2 3)) (alpha-a O) ⇒ 1 (alpha-b O) ⇒ 2 (alpha-c O) ⇒ 3
• iklib records defs super-proto: | The super-type protocol. | |
• iklib records defs destructor: | The destructor protocol. | |
• iklib records defs consig: | The constructor signature. | |
• iklib records defs predicate: | The custom predicate. | |
• iklib records defs printer: | The custom printer. | |
• iklib records defs equality: | The custom equality predicate. | |
• iklib records defs comparison: | The custom comparison procedure. | |
• iklib records defs hash: | The custom hash function. | |
• iklib records defs methods: | Record-type methods. | |
• iklib records defs descriptors: | Defining type descriptors. | |
• iklib records defs angular: | Stripping angular parentheses. | |
• iklib records defs mixins: | Mixins. | |
• iklib records defs implements: | Implemented interfaces. |
Next: iklib records predicates, Up: iklib records [Index]