summaryrefslogtreecommitdiff
path: root/doc/ref/api-compound.texi
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-17 15:34:49 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-17 15:34:49 +0100
commit67768115d7faa8c9da63a6b5c347adab107403d0 (patch)
tree068455534e7618d9f44d8f009ce1e45fbf42e316 /doc/ref/api-compound.texi
parent3ae5a02f1d2b85bc54a4ff921da1a904a3915b9c (diff)
downloadguile-67768115d7faa8c9da63a6b5c347adab107403d0.tar.gz
doc: Fix typo in `set-record-type-printer!' doc.
* module/srfi/srfi-9/gnu.scm (set-record-type-printer!): Change the parameter name to `proc'. * doc/ref/api-compound.texi (SRFI-9 Records): Update accordingly.
Diffstat (limited to 'doc/ref/api-compound.texi')
-rw-r--r--doc/ref/api-compound.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi
index 0b2106540..27dbcbf53 100644
--- a/doc/ref/api-compound.texi
+++ b/doc/ref/api-compound.texi
@@ -2381,9 +2381,9 @@ You may use @code{set-record-type-printer!} to customize the default printing
behavior of records. This is a Guile extension and is not part of SRFI-9. It
is located in the @nicode{(srfi srfi-9 gnu)} module.
-@deffn {Scheme Syntax} set-record-type-printer! name thunk
+@deffn {Scheme Syntax} set-record-type-printer! name proc
Where @var{type} corresponds to the first argument of @code{define-record-type},
-and @var{thunk} is a procedure accepting two arguments, the record to print, and
+and @var{proc} is a procedure accepting two arguments, the record to print, and
an output port.
@end deffn