Hello,
It used to be, in Guile 2.0, that defining a record type <foo> would
also, in an unhygienic manner, define the GOOPS class <<foo>> for use
with generic methods. However, in Guile 2.1, this does not happen.
Example:
(use-modules (srfi srfi-9)
(oop goops))
(define-record-type <foo>
(make-foo bar)
foo?
(bar foo-bar))
<<foo>> ;; Unbound variable: <<foo>>
Was this an intentional breaking change? I do find it weird that a
variable binding is magically defined, but I still would like some way
to access the class wrapper for a record type without doing something
hacky like:
(define <<foo>> (class-of (make-foo 'bar)))
Thanks,
- Dave