@remove(t:tab, n:numeric)
@remove(m:map, k:value)
@remove(t:tab, n:numeric)
n
in t
(t
is modified in place).
Note that building a new tab by removing elements satisfying some
property P
is easy with a comprehension:
[ $x | $x in t, P ]
t
untouched.
@remove(m:map, k:value)
k
in map (m
is modified in place). Does nothing if
the key k
is not present in map .
See also Tab Manipulations @car, @cdr, @clear, @concat, @cons, @copy, @count, @dim, @domain, @drop, @empty, @find, @flatten, @gnuplot, @insert, @iota, @is_list, @is_prefix, @is_subsequence, @is_suffix, @lace, @last, @listify, @map, @max_val, @median, @member, @normalize, @occurs, @parse, @permute, @push_back, @push_front, @range, @reduce, @remove, @remove_duplicate, @replace, @reshape, @resize, @reverse, @rotate, @scan, @scramble, @size, @slice, @sort, @sputter, @stutter, @succession, @tab_history, @tab_history_date, @tab_history_rdate, @take @to_num
See also Map (aka dictionnary) @add_pair, @clear, @count, @domain, @find, @gshift_map, @insert, @is_defined, @is_function, @is_map, @listify, @make_duration_map, @make_label_bpm, @make_label_duration, @make_label_pitches, @make_label_pos, @make_score_map, @map, @map_compose, @map_concat, @map_history, @map_history_date, @map_history_rdate, @map_normalize, @map_reverse, @mapval, @max_key, @max_val, @member, @merge, @min_key, @min_val, @occurs, @range, @remove, @select_map, @shift_map