[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41253] [PATCH] guix: add script execution to "guix repl"
From: |
Konrad Hinsen |
Subject: |
[bug#41253] [PATCH] guix: add script execution to "guix repl" |
Date: |
Fri, 29 May 2020 12:16:17 +0200 |
Hi Simon,
> I have sent a v2 adding tests and rewording the commit message -- to
> be what I understand the compliance; sorry if I did a mistake.
> Well, I am not sure by the tests.
Way better than no tests!
I just submitted a v3, following a thread on help-guix
(see https://www.mail-archive.com/help-guix@gnu.org/msg09328.html).
The v3 patch allows
guix repl script.scm
but also
guix repl – script.scm -a -b –-input=foo.txt
In exchange, only a single script can be run. This is perfectly
in line with how Guile works, but it breaks your nice interpretation
of "REPL" as applying to script execution ;-)
Cheers,
Konrad