My problem is that I need to iterate over array and calculate some value depend on every element. I was looking for some fold-like function for arrays, but standard library seems to be very useless with arrays. Or i'm missing something?
The other solution may be 'binding' array to a list. Binding mean that I don't want to copy that array. Is this possible?
Btw, its all about plain Array.