[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59747] [PATCH v3] services: configuration: simplify alist? procedur
From: |
Bruno Victal |
Subject: |
[bug#59747] [PATCH v3] services: configuration: simplify alist? procedure. |
Date: |
Wed, 25 Jan 2023 16:38:51 +0000 |
* gnu/services/configuration.scm (alist?): simplify procedure.
---
Last patch was sent without prefix.
gnu/services/configuration.scm | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/gnu/services/configuration.scm b/gnu/services/configuration.scm
index 6b0291dc00..d4d9c3b1a6 100644
--- a/gnu/services/configuration.scm
+++ b/gnu/services/configuration.scm
@@ -437,10 +437,7 @@ (define list-of-strings?
(list-of string?))
(define alist?
- (match-lambda
- (() #t)
- ((head . tail) (and (pair? head) (alist? tail)))
- (_ #f)))
+ (list-of pair?))
(define serialize-file-like empty-serializer)
base-commit: 0d713e0140f4c4a80de6cbfc58fae17cb69beb98
--
2.38.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#59747] [PATCH v3] services: configuration: simplify alist? procedure.,
Bruno Victal <=