1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00

fix printer in struct docs

* doc/ref/api-compound.texi (Vtables): Fix example printer.
This commit is contained in:
Andy Wingo 2009-03-02 15:46:17 +01:00
parent b0e4051e9e
commit fb0a63e879

View file

@ -2797,11 +2797,11 @@ structure.
@example @example
(make-vtable "prpw" (make-vtable "prpw"
(lambda (struct port) (lambda (struct port)
(display "#<") (display "#<" port)
(display (struct-ref 0)) (display (struct-ref struct 0) port)
(display " and ") (display " and " port)
(display (struct-ref 1)) (display (struct-ref struct 1) port)
(display ">"))) (display ">" port)))
@end example @end example
@end deffn @end deffn