From: Noah Lavine <noah.b.lavine@gmail.com>
To: guile-devel <guile-devel@gnu.org>
Subject: Confusing Error Message
Date: Tue, 13 Mar 2012 20:43:29 -0400 [thread overview]
Message-ID: <CA+U71=Oupk37CrV0gUaSCpTgnO41FqNYGwTJmmEnZ=gkAQWFxA@mail.gmail.com> (raw)
Hello,
I just got a confusing error while making a Guile module. I was
writing a module, and wanted to use the compile function - the one
that exists by default in the REPL environment. However, when I used
the compile function in a module and tried to load that module, I got
an unbound variable error for the name 'compile'!
After some checking, I discovered that 'compile is in the module
guile-user, so I tried importing that, but no luck. After some more
digging, I found that it's exported by (system base compile), and
importing that solved my problems.
However, I think this could have been very confusing to a new user.
It's not intuitive that a function that is available by default at the
REPL is not available in a module. I don't even know where to go to
look up what things are available in a module and what are not.
Was this limitation on purpose? If so, I'd like to know what's going
on so I can document it more. If not, there's a bug in the current
master.
Thanks,
Noah
next reply other threads:[~2012-03-14 0:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-14 0:43 Noah Lavine [this message]
2012-03-14 1:27 ` Confusing Error Message Ian Price
2013-01-16 18:10 ` 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='CA+U71=Oupk37CrV0gUaSCpTgnO41FqNYGwTJmmEnZ=gkAQWFxA@mail.gmail.com' \
--to=noah.b.lavine@gmail.com \
--cc=guile-devel@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).