aboutsummaryrefslogtreecommitdiff
path: root/doc/ref
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-07-23 20:45:15 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-07-23 20:47:40 +0200
commit13b15637461de7415f4832d17c5383b25db6a48b (patch)
tree26b2fe8c4908123d4b9f5ea968ba78c9a3df275b /doc/ref
parentGeneral cleanup in preprocessor. (diff)
downloadcalp-13b15637461de7415f4832d17c5383b25db6a48b.tar.gz
calp-13b15637461de7415f4832d17c5383b25db6a48b.tar.xz
Introduce key: to define-type.
Diffstat (limited to 'doc/ref')
-rw-r--r--doc/ref/guile/util-object.texi7
1 files changed, 7 insertions, 0 deletions
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{<name>} should be