Eric Bavier skribis:
> On Sat, 24 Sep 2016 11:21:40 +0900
> l...@gnu.org (Ludovic Courtès) wrote:
>>
>> > +replaced by EXP. EXP is evaluated in a context where VAR is bound to the
>> > +previous value of the keyword argument, or DFLT if given."
>> > +(syntax-case x ()
>> > + ((_ origin
On Sat, 24 Sep 2016 11:21:40 +0900
l...@gnu.org (Ludovic Courtès) wrote:
>
> > +replaced by EXP. EXP is evaluated in a context where VAR is bound to the
> > +previous value of the keyword argument, or DFLT if given."
> > +(syntax-case x ()
> > + ((_ original-args ((kw var dflt ...) exp)
Eric Bavier skribis:
> From: Eric Bavier
>
> * guix/utils.scm (substitute-keyword-arguments): Allow default value
> declarations.
> * tests/utils.scm (substitute-keyword-arguments): New test.
Good idea!
[...]
> +replaced by EXP. EXP is evaluated in a context where VAR is bound to the
> +pre
From: Eric Bavier
* guix/utils.scm (substitute-keyword-arguments): Allow default value
declarations.
* tests/utils.scm (substitute-keyword-arguments): New test.
---
guix/utils.scm | 34 --
tests/utils.scm | 20
2 files changed, 40 insertions(