diff options
author | Ludovic Courtès <ludo@gnu.org> | 2012-11-17 15:34:49 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2012-11-17 15:34:49 +0100 |
commit | 67768115d7faa8c9da63a6b5c347adab107403d0 (patch) | |
tree | 068455534e7618d9f44d8f009ce1e45fbf42e316 /module/srfi/srfi-9 | |
parent | 3ae5a02f1d2b85bc54a4ff921da1a904a3915b9c (diff) | |
download | guile-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 'module/srfi/srfi-9')
-rw-r--r-- | module/srfi/srfi-9/gnu.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/srfi/srfi-9/gnu.scm b/module/srfi/srfi-9/gnu.scm index eb3506487..219bcdebb 100644 --- a/module/srfi/srfi-9/gnu.scm +++ b/module/srfi/srfi-9/gnu.scm @@ -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) |