From dbb2a98e2a63a34ffe1e416835d9e6e7f137a214 Mon Sep 17 00:00:00 2001 From: "W. Kosior" Date: Sat, 27 Jul 2024 22:18:45 +0200 Subject: Revert "Add syntactic sugar for initializing fields with list-values." This reverts commit 96982196c4fae2b053f931b5988e52d7cf80fe45. Rationale: that syntactic sugar is not really useful. --- src/guile/de-paul-records.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/guile/de-paul-records.scm b/src/guile/de-paul-records.scm index fddd1da..f45e6b4 100644 --- a/src/guile/de-paul-records.scm +++ b/src/guile/de-paul-records.scm @@ -141,12 +141,7 @@ (identifier? #'field-name) (syntax->field-init #'(field-name #:=> (lambda (field-name) value-update-expr - value-update-expr-rest ...)))) - - ((field-name #:list value-item-expr value-item-expr-rest ...) - (syntax->field-init #'(field-name - (list value-item-expr - value-item-expr-rest ...)))))) + value-update-expr-rest ...)))))) (define-immutable-record-type (make-record-init) record-init? (inherit record-init-inherit record-init-set-inherit) -- cgit v1.2.3