Next: , Previous: , Up: vectors   [Index]


24.12 Filtering and deleting

Function: %vector-filter pred vec start past
Macro: vector-filter V pred

Filter the selected subvector, retaining only those characters that satisfy the pred argument. Always return a newly allocated vector.

Function: %vector-delete pred vec start past
Macro: vector-delete V pred

Filter the selected subvector, retaining only those characters that do not satisfy the pred argument. Always return a newly allocated vector.