Hi,

You probably figured this one out, many moons ago, but:

On Sun 26 Jun 2011 10:00, "Tomas By" <to...@basun.net> writes:

> | mapdisplay.scm:36:12: In expression (get-map wg name):
> | mapdisplay.scm:36:12: Unbound variable: get-map
> | ABORT: (unbound-variable)
> | guile> get-map
> | #<primitive-procedure get-map>
> | guile>

later you said:

> | guile> (apropos "get-map")
> | (guile-user): get-map       #<primitive-procedure get-map>

> Any ideas what is happening here? How can I debug it?

The issue is that get-map was defined in guile-user.  But that's not the
root module: it's only the default module at the REPL.

Your mapdisplay module implicitly imported (guile), not (guile-user).

When you are extending Guile, it's best to put primitives in their own
modules, as Peter mentioned.

Regards,

Andy
-- 
http://wingolog.org/

Reply via email to