From: Ramakrishnan Muthukrishnan <vu3rdd@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-user@gnu.org
Subject: Re: reload-module usage
Date: Fri, 19 Nov 2010 21:16:12 +0530 [thread overview]
Message-ID: <AANLkTikKOZ16FEb0PmeXxemcHzUnF7-iV6apyjZQ2Kap@mail.gmail.com> (raw)
In-Reply-To: <m3lj4p2u3e.fsf@unquote.localdomain>
On Fri, Nov 19, 2010 at 9:17 PM, Andy Wingo <wingo@pobox.com> wrote:
> On Fri 19 Nov 2010 16:17, Ramakrishnan Muthukrishnan <vu3rdd@gmail.com> writes:
>
>> On Fri, Nov 19, 2010 at 11:57 AM, Ramakrishnan Muthukrishnan
>> <vu3rdd@gmail.com> wrote:
>>>
>>>> (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.
>>
>> `reload-module' is indeed a function which explains the error. How do
>> we specify a module name?
>
> It is a function that takes a module as an argument.
>
> (reload-module (resolve-module (tekuti boot)))
>
> would be how to use it. I'll add a REPL meta-command that takes a
> name. Having the core procedure take a module instead of a name takes
> away an error case -- what if it wasn't loaded before, do we load it for
> the first time?
Thanks Andy.
--
Ramakrishnan
next prev parent reply other threads:[~2010-11-19 15:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-19 6:27 reload-module usage Ramakrishnan Muthukrishnan
2010-11-19 15:17 ` Ramakrishnan Muthukrishnan
2010-11-19 15:47 ` Andy Wingo
2010-11-19 15:46 ` Ramakrishnan Muthukrishnan [this message]
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=AANLkTikKOZ16FEb0PmeXxemcHzUnF7-iV6apyjZQ2Kap@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).