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, <m.gubine...@gmail.com> wrote: > 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.000 > lines of scheme (still Guile 1.8). I wanted to give a look around to > understand what are good design patterns to use Guile 2+ as extension > language. > > Best, > Massimiliano > > > On 19. Dec 2020, at 02:46, Aleix Conchillo Flaqué <aconchi...@gmail.com> > wrote: > > > > On Fri, Dec 18, 2020 at 5:26 PM Christopher Lam > > <christopher....@gmail.com> 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 unbound-var warnings than in 3.0.2 -- wouldn't it > be > >> a useful hint to add to the warning in core guile as well? > > > > Wow, this is great! > > > > This should definitely be added to guile by default. > > > > Aleix > > > >