mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
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
1 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ (define (serialize-hours field-name val)
|
|||
(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 (serialize-free-form-fields field-name val)
|
|||
(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 a new issue