Marc:
You have defined in _nonstd.scm:
> (define-runtime-macro (define-record-type name constructor
> predicate . fields)
> `(define-type ,name
> constructor: ,constructor
> predicate: ,predicate
> ,@fields))
which I presume is meant to implement SRFI-9. However, SRFI-9 has
the inconvenient passage:
> <type name> is bound to a representation of the record type itself.
> Operations on record types, such as defining print methods,
> reflection, etc. are left to other SRFIs.
and your implementation of define-record-type doesn't do this:
> (define-record-type :pare
(kons x y)
pare?
(x kar set-kar!)
(y kdr))
> :pare
*** ERROR IN (console)(a)13.1 -- Unbound variable: :pare
Do you have any quick suggestions about how to fix this?
Brad