haskell - Indexing Data.Vector with an array of indices -


is possible in haskell index vector data.vector using vector of integers b, i.e. a[b] = [ a[b[0]], a[b[1]], ... ]? seems planned further versions vector tutorial, section 2.11 suggests.

of course, 1 can write function this, involve lot of copying.

it advisable use backpermute map (xs!) more efficient.


Comments

Popular posts from this blog

C# random value from dictionary and tuple -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -

cgi - How do I interpret URLs without extension as files rather than missing directories in nginx? -