Hi, "Panicz Maciej Godek" <[email protected]> writes:
> 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>> It works fine here with Guile 1.9 (`master'). I would expect it to work as well with 1.8. Which version are you using? Can you check whether evaluating the code above actually works (directly, i.e., not via `(use-modules (modules goose))')? Thanks, Ludo'.
