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

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

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