unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Neil Jerram" <neiljerram@googlemail.com>
To: "Panicz Maciej Godek" <godek.maciek@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: Guile module system problem
Date: Tue, 20 Jan 2009 12:15:54 +0000	[thread overview]
Message-ID: <49dd78620901200415w2b013eeiff6062136f0f07de@mail.gmail.com> (raw)
In-Reply-To: <1eb53f5d0901200218n227d2db0le7f511bf7f8fbf57@mail.gmail.com>

2009/1/20 Panicz Maciej Godek <godek.maciek@gmail.com>:
> Hi, I've been trying to move some of my code into
> loadable guile modules. I made a directory "modules"
> in my project tree and moved the module in there.
>
> I ran into some problems. Here's how I load the
> module:
> (set! %load-path (cons "." %load-path))
> (load-module (modules goose))
> At this point, guile signals an error (unbound variable).

Please try `use-modules' instead of `load-module'.

      Neil




  reply	other threads:[~2009-01-20 12:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20 10:18 Guile module system problem Panicz Maciej Godek
2009-01-20 12:15 ` Neil Jerram [this message]
2009-01-20 13:07   ` Panicz Maciej Godek
2009-01-20 16:52     ` Panicz Maciej Godek
2009-01-21 16:55       ` Ludovic Courtès
2009-01-21 17:51         ` Panicz Maciej Godek
2009-02-05 22:18           ` Neil Jerram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49dd78620901200415w2b013eeiff6062136f0f07de@mail.gmail.com \
    --to=neiljerram@googlemail.com \
    --cc=godek.maciek@gmail.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).