Hello all,<br><br>I'm reading stuff about the different types of arrays in Haskell ...<br><br>One of the things that I don'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 'the Array type exported by Data.Array.IArray' 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 & thanks in advance <br>-----<br>FB<br><br><br>