[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/08: make-syntactic-constructor kwarg default

From: Ludovic Courtès
Subject: 07/08: make-syntactic-constructor kwarg default
Date: Mon, 19 Jan 2015 22:31:29 +0000

civodul pushed a commit to branch master
in repository guix.

commit 0db40ed289388d049ec9ecfd9661cc1d74a9ef3e
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 19 22:54:27 2015 +0100

    make-syntactic-constructor kwarg default
 guix/records.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/guix/records.scm b/guix/records.scm
index bef8ff8..8a4d6a7 100644
--- a/guix/records.scm
+++ b/guix/records.scm
@@ -43,7 +43,7 @@
 (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."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]