services: configuration: simplify alist? procedure.
* gnu/services/configuration.scm (alist?): simplify procedure. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
parent
a586c3996e
commit
eba81e68ac
@ -440,10 +440,7 @@ the list result in @code{#t} when applying PRED? on them."
|
||||
(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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user