Next: , Previous: , Up: Scheme Syntax Extension Packages   [Contents][Index]

3.8 Define-Record-Type

(require 'define-record-type) or (require 'srfi-9)

http://srfi.schemers.org/srfi-9/srfi-9.html

Special Form: define-record-type <type-name> (<constructor-name> <field-tag> ...) <predicate-name> <field-spec> ...

Where

<field-spec> ≡ (<field-tag> <accessor-name>)
             ≡ (<field-tag> <accessor-name> <modifier-name>)

define-record-type is a syntax wrapper for the SLIB record module.


Next: , Previous: , Up: Scheme Syntax Extension Packages   [Contents][Index]