<div dir="ltr"><div><br></div>In a reply to the question on the thread titled &quot;Can I use String without &quot;&quot; in ghci?&quot;, Richard A. O&#39;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&#39;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&#39;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 &quot;stream interface vs string interface to convert objects to text&quot;? 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&#39;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>