[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/04: records: Use 'make-struct/no-tail'.
From: |
Ludovic Courtès |
Subject: |
02/04: records: Use 'make-struct/no-tail'. |
Date: |
Fri, 1 Dec 2017 12:47:40 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit cea25b08bfd22bda940e5ac7ea29d4fa035d8303
Author: Ludovic Courtès <address@hidden>
Date: Fri Dec 1 18:09:22 2017 +0100
records: Use 'make-struct/no-tail'.
* guix/records.scm (make-syntactic-constructor): Use
'make-struct/no-tail' as 'make-struct' is deprecated as of 2.2.3.
---
guix/records.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/records.scm b/guix/records.scm
index 1f00e16..c02395f 100644
--- a/guix/records.scm
+++ b/guix/records.scm
@@ -81,7 +81,7 @@ fields, and DELAYED is the list of identifiers of delayed
fields."
(record-error 'name s "extraneous field initializers ~a"
unexpected)))
- #`(make-struct type 0
+ #`(make-struct/no-tail type
#,@(map (lambda (field index)
(or (field-inherited-value field)
(if (innate-field? field)