aboutsummaryrefslogtreecommitdiff
path: root/src/guile
diff options
context:
space:
mode:
Diffstat (limited to 'src/guile')
-rw-r--r--src/guile/de-paul-records.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/guile/de-paul-records.scm b/src/guile/de-paul-records.scm
index f45e6b4..fddd1da 100644
--- a/src/guile/de-paul-records.scm
+++ b/src/guile/de-paul-records.scm
@@ -141,7 +141,12 @@
(identifier? #'field-name)
(syntax->field-init #'(field-name #:=> (lambda (field-name)
value-update-expr
- value-update-expr-rest ...))))))
+ 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 ...))))))
(define-immutable-record-type <record-init> (make-record-init) record-init?
(inherit record-init-inherit record-init-set-inherit)