To add my tuppence-worth on this, addressed to no-one in particular:<div><br></div><div>(1) I think getting hung up on UTF-8 correctness is a distraction here.  I can&#39;t imagine anyone suggesting that the C/C++ standards removed support for (char*) because it wasn&#39;t UTF-8 correct: sure, you&#39;d recommend people use a different type when it matters, but the language standard itself shouldn&#39;t be driven by technical issues that don&#39;t affect most people most of the time.  I&#39;m sure it&#39;s good engineering practice to worry about these things, but the standard isn&#39;t there to encourage good engineering practice.</div>

<div><br></div><div>(2) I&#39;d suggest that a proposal that advocated overloaded string literals -- of which [Char] was an option -- couldn&#39;t be much more confusing from a pedagogical perspective than the fact that numeric literals are overloaded.  Since that seems to be one of the main biases in favour of [Char] in the current standard, that might be a possible incremental fix.</div>

<div><br></div><div>Best,</div><div>Freddie<br><br><div class="gmail_quote">On 24 March 2012 22:15, Ian Lynagh <span dir="ltr">&lt;<a href="mailto:igloo@earth.li">igloo@earth.li</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On Sat, Mar 24, 2012 at 08:38:23PM +0000, Thomas Schilling wrote:<br>
&gt; On 24 March 2012 20:16, Ian Lynagh &lt;<a href="mailto:igloo@earth.li">igloo@earth.li</a>&gt; wrote:<br>
&gt; &gt;<br>
</div><div class="im">&gt; &gt;&gt; Correctness<br>
&gt; &gt;&gt; ==========<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Using list-based operations on Strings are almost always wrong<br>
&gt; &gt;<br>
&gt; &gt; Data.Text seems to think that many of them are worth reimplementing for<br>
&gt; &gt; Text. It looks like someone&#39;s systematically gone through Data.List.<br>
&gt;<br>
&gt; That&#39;s exactly what happened as part of the platform inclusion<br>
&gt; process.  In fact, there was quite a bit of bike shedding whether the<br>
&gt; Text API should be compatible with the list API or not.  In the end<br>
&gt; the decision was made to add all the list functions even if that<br>
&gt; encouraged running into unicode issues.  I&#39;m pretty sure you<br>
&gt; participated in that discussion.<br>
<br>
</div>As far as I remember, a few functions were added to text and bytestring<br>
during that, but mostly the discussion was about naming.<br>
<br>
Even in the first 0.1 release of bytestring:<br>
  <a href="http://hackage.haskell.org/packages/archive/text/0.1/doc/html/Data-Text.html" target="_blank">http://hackage.haskell.org/packages/archive/text/0.1/doc/html/Data-Text.html</a><br>
there is a large amount of Data.List covered, e.g. map, transpose,<br>
foldl1&#39;, minimum, mapAccumR, groupBy.<br>
<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">Ian<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
Haskell-prime mailing list<br>
<a href="mailto:Haskell-prime@haskell.org">Haskell-prime@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-prime" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-prime</a><br>
</div></div></blockquote></div><br></div>