make-syntactic-constructor kwarg default

This commit is contained in:
Ludovic Courtès 2015-01-19 22:54:27 +01:00
parent c492be654b
commit 0db40ed289

View file

@ -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."