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
(make-vtable "prpw"
(lambda (struct port)
(display "#<")
(display (struct-ref 0))
(display " and ")
(display (struct-ref 1))
(display ">")))
(display "#<" port)
(display (struct-ref struct 0) port)
(display " and " port)
(display (struct-ref struct 1) port)
(display ">" port)))
@end example
@end deffn