Hi,
Ricardo Wurmus skribis:
> When I wrote “state” I had the list of modules encountered in mind, so
> that it would be possible to collect all marked instances of
> “use-module” and hoist them to the top, in effect doing automatically
> what is achieved manually by using “with-imported-modules”
Ludovic Courtès writes:
>> I wondered if perhaps we could add a G-expression compiler for module
>> imports, so that instead of
>>
>> (with-imported-modules (source-module-closure '((my module)))
>> #~(begin
>> (use-modules (my module))
>> …))
>>
>> we would do
>>
>> #~(begin
>>
Hello!
Ricardo Wurmus skribis:
> I just watched the excellent FOSDEM talk about G-expressions by Chris
> Marusich. One person asked at the end about why it is necessary to use
> “with-imported-modules” when inside of the G-expression “use-modules” is
> used.
Chris and I discussed it (I think t
Hi Guix,
I just watched the excellent FOSDEM talk about G-expressions by Chris
Marusich. One person asked at the end about why it is necessary to use
“with-imported-modules” when inside of the G-expression “use-modules” is
used.
I wondered if perhaps we could add a G-expression compiler for modu