What is the best way to extend array?<br>I would use a list instead of array as it is easy to append, but need to have random access to its elements later.&nbsp; <br>So in fact I need to start with an integer array of size 1. Next I may need to add new elements to this array or modify values of the existing ones.<br>
<br>Function:<br>array :: (Ix a) =&gt; (a,a) -&gt; [(a,b)] -&gt; Array a b <br><br>allows&nbsp;construct an array of a fixed size. How to add more elements to the array later?<br><br>Thanks!<br><br>-- <br>Dmitri O. Kondratiev<br>
<a href="mailto:dokondr@gmail.com">dokondr@gmail.com</a><br><a href="http://www.geocities.com/dkondr">http://www.geocities.com/dkondr</a>