> Concerning 'rapid access' you found in docs - it is hard to believe
> this access is as fast as in C array - i mean changing X[i] in array
> X. Because when this change is done fast, it is a side effect, breaks
> functionality.
Extracting values from an array can be as fast as in C. The tricky
part is contructing the array. The Haskell Array module provides
one way of constructing monolithic arrays, i.e., arrays that are built
once and never again modified.
But there are other ways, e.g., using ST monad which allows incremental
construction of the array.
-- Lennart