[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50614] [PATCH] build: utils: Add ‘list-when’ macro.
From: |
Maxime Devos |
Subject: |
[bug#50614] [PATCH] build: utils: Add ‘list-when’ macro. |
Date: |
Sat, 18 Sep 2021 16:41:42 +0200 |
User-agent: |
Evolution 3.34.2 |
Liliana Marie Prikler schreef op vr 17-09-2021 om 19:55 [+0200]:
> Am Freitag, den 17.09.2021, 10:26 +0200 schrieb Xinglu Chen:
> > * guix/build/utils.scm (list-when): New syntax
> > * tests/build-utils.scm ("list-when: expr1 is non-#f", list-when:
> > expr1 is #f"):
> > Test it.
> > * guix.texi (Build Utilities): Document it.
> > ---
> > Changes since v1:
> >
> > * Rename ‘optional’ to ‘list-when’.
> >
> > * Make
> >
> > (list-when test consequent ...)
> >
> > equivalent to
> >
> > (if tests
> > (list consequent ...)
> > '())
> LGTM, but let's wait on more opinions.
It looks nice to me, though you might want an opinion from someone who
is new to Scheme.
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
- [bug#50614] [PATCH core-updates] build: utils: Add ‘optional’ macro., Xinglu Chen, 2021/09/16
- [bug#50614] [PATCH core-updates] build: utils: Add ‘optional’ macro., Liliana Marie Prikler, 2021/09/16
- [bug#50614] [PATCH core-updates] build: utils: Add ‘optional’ macro., Sarah Morgensen, 2021/09/16
- [bug#50614] [PATCH] build: utils: Add ‘list-when’ macro., Xinglu Chen, 2021/09/17
- [bug#50614] [PATCH] build: utils: Add ‘list-when’ macro., Sarah Morgensen, 2021/09/17
- [bug#50614] [PATCH core-updates v2] build: utils: Add ‘list-when’ macro., Xinglu Chen, 2021/09/19