summaryrefslogtreecommitdiff
path: root/guix/records.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-19 22:54:27 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-19 23:30:42 +0100
commit0db40ed289388d049ec9ecfd9661cc1d74a9ef3e (patch)
tree4c552341dbf93007495278f850b7bbbf4c18437f /guix/records.scm
parentc492be654be7c994d39d5aa6a7575792baf9edb9 (diff)
downloadgnu-guix-0db40ed289388d049ec9ecfd9661cc1d74a9ef3e.tar
gnu-guix-0db40ed289388d049ec9ecfd9661cc1d74a9ef3e.tar.gz
make-syntactic-constructor kwarg default
Diffstat (limited to 'guix/records.scm')
-rw-r--r--guix/records.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/records.scm b/guix/records.scm
index bef8ff861b..8a4d6a7bb6 100644
--- a/guix/records.scm
+++ b/guix/records.scm
@@ -43,7 +43,7 @@
form))))
(define* (make-syntactic-constructor type name ctor fields
- #:key thunked defaults)
+ #:key (thunked '()) (defaults '()))
"Make the syntactic constructor NAME for TYPE, that calls CTOR, and expects
all of FIELDS to be initialized. DEFAULTS is the list of FIELD/DEFAULT-VALUE
tuples, and THUNKED is the list of identifiers of thunked fields."