services: dovecot: Fix predicate names for free-form fields
* gnu/services/mail.scm (free-form-fields?, free-form-args?): Change 'string' to 'string?'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
7150743522
commit
ad34409e85
|
@ -137,7 +137,7 @@
|
|||
(define (free-form-fields? val)
|
||||
(match val
|
||||
(() #t)
|
||||
((((? symbol?) . (? string)) . val) (free-form-fields? val))
|
||||
((((? symbol?) . (? string?)) . val) (free-form-fields? val))
|
||||
(_ #f)))
|
||||
(define (serialize-free-form-fields field-name val)
|
||||
(for-each (match-lambda ((k . v) (serialize-field k v))) val))
|
||||
|
@ -145,7 +145,7 @@
|
|||
(define (free-form-args? val)
|
||||
(match val
|
||||
(() #t)
|
||||
((((? symbol?) . (? string)) . val) (free-form-args? val))
|
||||
((((? symbol?) . (? string?)) . val) (free-form-args? val))
|
||||
(_ #f)))
|
||||
(define (serialize-free-form-args field-name val)
|
||||
(serialize-field field-name
|
||||
|
|
Loading…
Reference in New Issue