I see that it is possible to write functions like map / sortBy / findIndex and some other List related functions for arrays (at least indexed by integers). Is this done anywhere in the standard library, or do I need to roll on my own?
I need to use an array in my program to update in-place, but there are several places where I would like to use some of the list functions listed above. Does it translate between the best solution?
(The arrays I was looking at are related to Data.Array.IArray. I am also happy to use any other array library that implements this functionality.)
source
share