HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c492be6
)
make-syntactic-constructor kwarg default
author
Ludovic Courtès
<ludo@gnu.org>
Mon, 19 Jan 2015 21:54:27 +0000
(22:54 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Mon, 19 Jan 2015 22:30:42 +0000
(23:30 +0100)
guix/records.scm
patch
|
blob
|
blame
|
history
diff --git
a/guix/records.scm
b/guix/records.scm
index
bef8ff8
..
8a4d6a7
100644
(file)
--- 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."