mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
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.
This commit is contained in:
parent
3ae5a02f1d
commit
67768115d7
2 changed files with 5 additions and 5 deletions
|
@ -30,9 +30,9 @@
|
|||
set-field
|
||||
set-fields))
|
||||
|
||||
(define (set-record-type-printer! type thunk)
|
||||
"Set a custom printer THUNK for TYPE."
|
||||
(struct-set! type vtable-index-printer thunk))
|
||||
(define (set-record-type-printer! type proc)
|
||||
"Set PROC as the custom printer for TYPE."
|
||||
(struct-set! type vtable-index-printer proc))
|
||||
|
||||
(define-syntax-rule (define-immutable-record-type name ctor pred fields ...)
|
||||
((@@ (srfi srfi-9) %define-record-type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue