From 13b15637461de7415f4832d17c5383b25db6a48b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 23 Jul 2022 20:45:15 +0200 Subject: Introduce key: to define-type. --- doc/ref/guile/util-object.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/ref/guile/util-object.texi b/doc/ref/guile/util-object.texi index ceac2f2a..1a76160c 100644 --- a/doc/ref/guile/util-object.texi +++ b/doc/ref/guile/util-object.texi @@ -61,6 +61,13 @@ Value the field should get if not given. A type predicate that the field must obey. See @ref{type-clause} for details. @end deffn +@deffn {Field Parameter} key name +Specifies that the default constructor should take this argument by a +key other than its own name. + +Name should be a bare symbol (not a keyword)! +@end deffn + @subsection Introduced Bindings Define type introduces a number procedures. (@var{} should be -- cgit v1.2.3