Message ID | 20191219210958.8807-1-zimon.toutoune@gmail.com |
---|---|
Headers | show |
Series | Add '--load-path' to subcommands | expand |
Dear, Do it make sense to add the option "--load-path" to the subcommand 'repl'? All the best, simon
I'd say yes, even though it has limited benefits. In `guix repl`, you can see the load path with --8<---------------cut here---------------start------------->8--- %load-path --8<---------------cut here---------------end--------------->8--- The --load-path option would essentially be the same as appending the path to the %load-path variable from the REPL.
Hi Pierre, On Wed, 8 Jan 2020 at 22:27, Pierre Neidhardt <mail@ambrevar.xyz> wrote: > > I'd say yes, even though it has limited benefits. > In `guix repl`, you can see the load path with > > --8<---------------cut here---------------start------------->8--- > %load-path > --8<---------------cut here---------------end--------------->8--- > > The --load-path option would essentially be the same as appending the > path to the %load-path variable from the REPL. Agree. Note that 'guile' has the option too: " -L DIRECTORY add DIRECTORY to the front of the module load path" Well, I send 2 patches about "guix repl": 1. adding the 'load-path' option; 2. adding the option '--listen' in the message outputted by '--help'. Feel free to review and push if everything appear to you correct. Cheers, simon