> The solution is to refer to the goops's slot-ref function
> in some other way (perhaps using the @ operator)

Yet it's still not working. Now the module looks more or less
like this:
(define-module (modules goose)
  :use-module (oop goops)
  :replace (slot-ref))

(define slot-ref (make-procedure-with-setter (@ (oop goops) slot-ref)
slot-set!))

and the error I get when I try to use that module, is:
ERROR: invalid syntax #<variable 7fd6dd0ca610 value:
#<primitive-procedure slot-ref>>

What is wrong?


Reply via email to