Hello !
Looking in the all of core Guile could save time!
I can see already an emacs geiser trick to add it automatically haha.
Auto-completion + auto-use-module = Awesome!
Cheers,
Jérémy
Le 21 décembre 2020 00:11:38 GMT+01:00, Christopher Lam
a écrit :
>The exception printer would be a good
The exception printer would be a good one to upgrade.
The dilemma is whether to search available modules in the current
repository, or in the whole of core guile. Do we want to show e.g. "Unbound
variable: vector-for-each. Did you forget (use-modules (srfi srfi-43))" ?
On Sun, 20 Dec 2020 at 21:3
Hi,
Aleix Conchillo Flaqué skribis:
> On Fri, Dec 18, 2020 at 5:26 PM Christopher Lam
> wrote:
>>
>> Hi guilers, I saw in guix the incredibly useful unbound-variable exception
>> printer written by Ludovic. I've adapted for use in gnucash as
>> https://github.com/Gnucash/gnucash/commit/6f951784
Thanks, there is indeed some interesting and useful code there.
However I would prefer not to make large changes in this moment. I removed
most of the warnings by proper use of modules but we still have some circular
dependencies among modules and these are sources of some warning which for th
You can remove these "possibly unbound variable" warning by using modules
appropriately. It's not easy and tedious but necessary to achieve better
module hygiene.
See changes in https://github.com/Gnucash/gnucash/pull/831
On Sat, 19 Dec 2020, 6:08 pm Massimiliano Gubinelli,
wrote:
> Hi all,
>
>
Hi all,
nice piece of code!
About these "possible unbounded variable" warnings, I have for GNU TeXmacs the
opposite need: how can I turn them off? :)
I was also curious to ask: which are currently the major applications of GNU
Guile (as extension language)? For example, in TeXmacs we have ~110
On Fri, Dec 18, 2020 at 5:26 PM Christopher Lam
wrote:
>
> Hi guilers, I saw in guix the incredibly useful unbound-variable exception
> printer written by Ludovic. I've adapted for use in gnucash as
> https://github.com/Gnucash/gnucash/commit/6f951784 -- there are now in
> guile 3.0.4 many more un
I found the cause of "ERROR: In procedure module-lookup: Unbound variable:
cond-expand-provide" but don't know how to resolve it yet.
srfi-64.scm is a portable code and it use cond-expand; I had
used cond-expand-provide in cond-expand like this:
(cond-expand (guile (cond-expand-provide (current-
Hi,
You probably figured this one out, many moons ago, but:
On Sun 26 Jun 2011 10:00, "Tomas By" 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
> | #
> | guile>
later you sa
On Mon, June 27, 2011 23:44, Linas Vepstas wrote:
> Not sure what the bug is, though ... does get-map work
> if you don't use it within the module? Can you verify it works
> in some simple way?
yes it works fine, except from inside the module.
On 27 June 2011 04:41, Peter Brett wrote:
> "Tomas By" writes:
>
>> I have an extended Guile interpreter with a C function "get-map",
>> defined by "scm_c_define_gsubr", that I then try to use in the
>> (pure Scheme) module "mapdisplay", with the following result:
>>
>> [snip]
>>
>> Any ideas wha
"Tomas By" writes:
> I have an extended Guile interpreter with a C function "get-map",
> defined by "scm_c_define_gsubr", that I then try to use in the
> (pure Scheme) module "mapdisplay", with the following result:
>
> [snip]
>
> Any ideas what is happening here? How can I debug it?
Having read
> Hi again,
>
> Thanks for the help so far.
>
> On Mon, June 27, 2011 10:38, nalaginrut wrote:
> > I can't give accurate answer because you provided less information. So I
> > just give a guess:
> > If you have wrapped a module in mapdisplay.scm, you'd have imported some
> > symbols out of this m
Hi again,
Thanks for the help so far.
On Mon, June 27, 2011 10:38, nalaginrut wrote:
> I can't give accurate answer because you provided less information. So I
> just give a guess:
> If you have wrapped a module in mapdisplay.scm, you'd have imported some
> symbols out of this module. I know you
> On Mon, June 27, 2011 05:40, nalaginrut wrote:
> > I think you need to import this symbol in your module, in this case, I
> > think it's mapdisplay.scm. If get-map's not within a module, you'd need
> > to get this symbol with "dynamic-link" and it's friends.
>
> It's in the top-level module.
>
On Mon, June 27, 2011 05:40, nalaginrut wrote:
> I think you need to import this symbol in your module, in this case, I
> think it's mapdisplay.scm. If get-map's not within a module, you'd need
> to get this symbol with "dynamic-link" and it's friends.
It's in the top-level module.
| guile> (apro
> Hi all,
>
> I have an extended Guile interpreter with a C function "get-map",
> defined by "scm_c_define_gsubr", that I then try to use in the
> (pure Scheme) module "mapdisplay", with the following result:
>
> | mapdisplay.scm:36:12: In expression (get-map wg name):
> | mapdisplay.scm:36:12: U
On Fri 24 Sep 2010 19:16, Joel James Adamson writes:
> Andy Wingo writes:
>
>> On Thu 23 Sep 2010 18:19, Joel James Adamson writes:
>>
>>> Why would `quote' be redefined? What's going on here and how can I fix it?
>>
>> Perhaps the module that you are calling use-modules in has no binding
>> f
Andy Wingo writes:
> On Thu 23 Sep 2010 18:19, Joel James Adamson writes:
>
>> Why would `quote' be redefined? What's going on here and how can I fix it?
>
> Perhaps the module that you are calling use-modules in has no binding
> for `quote'.
Is there anything I can do about that? Would I hav
On Thu 23 Sep 2010 18:19, Joel James Adamson writes:
> Why would `quote' be redefined? What's going on here and how can I fix it?
Perhaps the module that you are calling use-modules in has no binding
for `quote'.
This problem is fixed in 1.9, FWIW.
Andy
--
http://wingolog.org/
20 matches
Mail list logo