2008/12/27 Brandon S. Allbery KF8NH <span dir="ltr">&lt;<a href="mailto:allbery@ece.cmu.edu">allbery@ece.cmu.edu</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style=""><div class="Ih2E3d"><div><div>On 2008 Dec 27, at 12:42, Galchin, Vasili wrote:</div><blockquote type="cite">&nbsp;Not in scope: `Data.ByteString.join&#39;<br></blockquote></div><div><br></div></div><div>Why are you trying to use join? &nbsp;It&#39;s not a string function; it&#39;s a function on lists which accidentally does something useful on normal Strings because they&#39;re implemented as lists. &nbsp;ByteStrings aren&#39;t lists, so there is no useful join, and ghc finds an instantiation of join somewhere else and does something unexpected as a result.</div>
</div></blockquote><div><br>It looks like in the <a href="http://cvs.haskell.org/Hugs/pages/libraries/base/Data-ByteString.html#v%3Ajoin">docs he is looking at</a>, join is the name of intercalate.&nbsp; Use intercalate.<br><br>
Luke</div></div><br>