mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
make-syntactic-constructor kwarg default
This commit is contained in:
parent
c492be654b
commit
0db40ed289
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ (define-syntax record-error
|
||||||
form))))
|
form))))
|
||||||
|
|
||||||
(define* (make-syntactic-constructor type name ctor fields
|
(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
|
"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
|
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."
|
tuples, and THUNKED is the list of identifiers of thunked fields."
|
||||||
|
|
Loading…
Reference in a new issue