mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
Rename set-record-printer!
* doc/ref/srfi-modules.texi: set-record-printer! -> set-record-type-printer!
This commit is contained in:
parent
3d82d9a62d
commit
45f3d9b6db
1 changed files with 2 additions and 3 deletions
|
@ -1924,12 +1924,11 @@ desired, exported from a module, etc.
|
|||
|
||||
@unnumberedsubsubsec Custom Printers
|
||||
|
||||
You may use @code{set-record-printer!} to customize the default printing
|
||||
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-printer! name thunk
|
||||
@deffn {Scheme Syntax} set-record-type-printer! name thunk
|
||||
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
|
||||
an output port.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue