unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Ramakrishnan Muthukrishnan <vu3rdd@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-user@gnu.org
Subject: reload-module usage
Date: Fri, 19 Nov 2010 11:57:23 +0530	[thread overview]
Message-ID: <AANLkTikvEeX+gUuTwCnU9SGWqJBYgDxpXVx2hpE4BYa1@mail.gmail.com> (raw)

Hi,

How to use the `reload-module' function? For eg:

> (use-modules (tekuti boot))
...
[do some editing in tekuti/boot.scm]
...
[now back to the repl]
> (reload-module (tekuti boot))

This gives the following output:

> (reload-module (tekuti boot))
<stdin>:18:15: warning: possibly unbound variable `tekuti'
<unnamed port>:18:16: In procedure module-lookup:
<unnamed port>:18:16: Unbound variable: tekuti

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
>

Perhaps I am missing something. Can't we specify the module name as we
specified in the use-module?

thanks
-- 
  Ramakrishnan



             reply	other threads:[~2010-11-19  6:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-19  6:27 Ramakrishnan Muthukrishnan [this message]
2010-11-19 15:17 ` reload-module usage Ramakrishnan Muthukrishnan
2010-11-19 15:47   ` Andy Wingo
2010-11-19 15:46     ` Ramakrishnan Muthukrishnan
2010-11-19 15:50     ` Andy Wingo

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=AANLkTikvEeX+gUuTwCnU9SGWqJBYgDxpXVx2hpE4BYa1@mail.gmail.com \
    --to=vu3rdd@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=wingo@pobox.com \
    /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).