<div dir="ltr"><div><br></div>In a reply to the question on the thread titled "Can I use String without "" in ghci?", Richard A. O'Keefe has noted that, <div><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
It's also the what-Smalltalk-got-right-and-Java-got-wrong lesson: the right way to convert objects to text is via a *stream* interface, not a *string* interface.<br></blockquote><br></div><div>I didn't want to clutter that thread so I am asking a question here.<br>
</div><div>Where do I find foundational and/or other good references on the topic of "stream interface vs string interface to convert objects to text"? I tried google but failed. <br><br></div><div>I am looking for pointers that explain the rational behind the above claim made by O'Keefe.<br>
<div class="gmail_extra"><br>and what is the take of Haskell on this topic?<br><br clear="all"></div><div class="gmail_extra"><div>Thanks and regards,<br>-Damodar Kulkarni<br></div>
<br><br></div></div></div>