[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile module system problem
From: |
Panicz Maciej Godek |
Subject: |
Re: Guile module system problem |
Date: |
Tue, 20 Jan 2009 17:52:37 +0100 |
> 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?