diff options
Diffstat (limited to 'doc/ref/api-compound.texi')
-rw-r--r-- | doc/ref/api-compound.texi | 4 |
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 |