How is this a problem?<div><br></div><div>If you&#39;re representing text, use &#39;text&#39;.</div><div>If you&#39;re representing a string of bytes, use &#39;bytestring&#39;.</div><div>If you want an &quot;array&quot; of values, think c++ and use &#39;vector&#39;.</div>
<div>If you want to mutate arrays, first, make sure you do. You probably don&#39;t. If you&#39;re sure, use MVector.</div><div><br></div><div>Don&#39;t use String, except to interface with legacy code. You probably want &#39;text&#39;.</div>
<div>Don&#39;t use Array. Anything it can be used for, can be done with &#39;vector&#39;.</div><div><br></div><div>  - Clark</div><div><br></div><div>This covers all the use-cases that I can think of.<br><br>On Monday, June 3, 2013,   wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 03 Jun 2013 19:16:08 +0000<br>
silvio &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;silvio.frischi@gmail.com&#39;)">silvio.frischi@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi everyone,<br>
&gt;<br>
&gt; Every time I want to use an array in Haskell, I find myself having to<br>
&gt; look up in the doc how they are used, which exactly are the modules I<br>
&gt; have to import ... and I am a bit tired of staring at type signatures<br>
&gt; for 10 minutes to figure out how these arrays work every time I use them<br>
&gt; (It&#39;s even worse when you have to write the signatures). I wonder how<br>
&gt; other people perceive this issue and what possible solutions could be.<br>
<br>
My opinion, it&#39;s every bit as bad you say it is...<br>
Not a clue as to what can be done about it.<br>
<br>
Probably yet another vector module.<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;Haskell-Cafe@haskell.org&#39;)">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>