This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How use formatted output in `print` method?


In declaration
(define-simple-class <my-class> (<java.lang.Object> <gnu.text.Printable>)
...
((print out :: <gnu.lists.Consumer>) :: #!void
...))

this statements

(out:write (format #f ...))
and
(out:write (String (format #f ...)))

generate warnings.

How do it?

Thanks!

--
WBR, Yaroslav Kavenchuk.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]