Re: (guix modules) and ‘source-module-closure’

2016-09-05 Thread Ludovic Courtès
Andy Wingo skribis: > On Mon 05 Sep 2016 10:13, Ricardo Wurmus > writes: > >> Ah, very nice! >> >> Why is it necessary to read the file and parse the define-module >> expression? Does Guile not keep any of this information? Should it? >> Will something like this become part of Guile eventuall

Re: (guix modules) and ‘source-module-closure’

2016-09-05 Thread Andy Wingo
On Mon 05 Sep 2016 10:13, Ricardo Wurmus writes: > Ah, very nice! > > Why is it necessary to read the file and parse the define-module > expression? Does Guile not keep any of this information? Should it? > Will something like this become part of Guile eventually? If you have the module loaded

Re: (guix modules) and ‘source-module-closure’

2016-09-05 Thread Ricardo Wurmus
Ludovic Courtès writes: > Hi! > > Commit 7ca87354db53fd1e1a7a3dfeddb9a598ea064bbe adds (guix module), > which provides a way to compute the closure of a Scheme module by > looking at its source code. > > This has to do with typical ‘with-imported-modules’ usage, as explained > in the manual: > >

(guix modules) and ‘source-module-closure’

2016-09-04 Thread Ludovic Courtès
Hi! Commit 7ca87354db53fd1e1a7a3dfeddb9a598ea064bbe adds (guix module), which provides a way to compute the closure of a Scheme module by looking at its source code. This has to do with typical ‘with-imported-modules’ usage, as explained in the manual: --8<---cut here---s