Please, post the error messages.<br><br>Maybe all is needed is an explicit type declaration...<br><br><div class="gmail_quote">On Thu, Feb 26, 2009 at 16:58, Francesco Bochicchio <span dir="ltr">&lt;<a href="mailto:bieffe62@gmail.com">bieffe62@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello all,<br><br>I&#39;m reading stuff about the different types of arrays in Haskell ...<br>
<br>One of the things that I don&#39;t understand<br> If I do:<br><br>import Data.Array<br>arr = listArray (1,10) [1..]<br><br>the type of arr is Array. My question is: is this array an instance of the type class defined in Data.Array.IArray?<br>

Or there is another kind of immutable boxed array somewhere in haskell libraries?<br>The documentation makes a  reference to &#39;the Array type exported by Data.Array.IArray&#39; but if I do:<br><br>import Data.Array.IArray<br>


arr = listArray (1,10) [1..]<br>
<br>I get a couple of compiler errors <br><br>Ciao &amp; thanks in advance  <br>-----<br><font color="#888888">FB<br><br><br>
</font><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@haskell.org">Beginners@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/beginners" target="_blank">http://www.haskell.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Rafael Gustavo da Cunha Pereira Pinto<br>Electronic Engineer, MSc.<br>