[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile module system problem

From: Ludovic Courtès
Subject: Re: Guile module system problem
Date: Wed, 21 Jan 2009 17:55:22 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)


"Panicz Maciej Godek" <address@hidden> 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))')?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]