[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 @@
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."
- branch master updated (109da1c -> 310b32a), Ludovic Courtès, 2015/01/19
- 02/08: gnu: Remove unneeded #:select., Ludovic Courtès, 2015/01/19
- 04/08: records: Use keyword parameters for 'make-syntactic-constructor'., Ludovic Courtès, 2015/01/19
- 06/08: records: Factorize value wrapping in the record constructor., Ludovic Courtès, 2015/01/19
- 01/08: gnu: Move guile-charting to (gnu packages plotutils)., Ludovic Courtès, 2015/01/19
- 05/08: records: Move 'make-syntactic-constructor' to the top level., Ludovic Courtès, 2015/01/19
- 03/08: gnu: Make libgnomeprint{,ui} as deprecated., Ludovic Courtès, 2015/01/19
- 08/08: records: Add support for delayed fields., Ludovic Courtès, 2015/01/19
- 07/08: make-syntactic-constructor kwarg default,
Ludovic Courtès <=