Subject: bug#37427: closed (Re: [bug#37427] [PATCH] services: dovecot: Fix predicate names for free-form fields)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 20 Sep 2019 20:37:02 +0000

Your bug report

#37427: [PATCH] services: dovecot: Fix predicate names for free-form fields

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
37427: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37427
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#37427] [PATCH] services: dovecot: Fix predicate names for free-form fields
From: Ludovic Courtès <[email-masked]>
To: Alexey Abramov <[email-masked]>
Cc: [email-masked]
Date: Fri, 20 Sep 2019 22:35:53 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Alexey,

Alexey Abramov <[email-masked]> skribis:

> --- a/gnu/services/mail.scm
> +++ b/gnu/services/mail.scm
> @@ -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))

Good catch!  I tweaked the commit log and committed.

Thanks,
Ludo’.

Subject: [PATCH] services: dovecot: Fix predicate names for free-form fields
From: Alexey Abramov <[email-masked]>
To: [email-masked]
Date: Mon, 16 Sep 2019 16:42:15 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 gnu/services/mail.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 3de0b4c2f3..2606aa9e3e 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -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
-- 
2.21.0