Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
(defn remove-idx [i items]
(keep-indexed #(when-not (= i %1) %2) items))
items.erase (items.begin () + i);
items.removeAt(i);
List.delete_at(items, i)
{Left, [_|Right]} = lists:split(I-1, Items),
Left ++ Right.
integer, allocatable, dimension(:) :: items
items = [items(:i-1), items(i+1:)]
items = append(items[:i], items[i+1:]...)
copy(items[i:], items[i+1:])
items[len(items)-1] = nil
items = items[:len(items)-1]
take i items ++ drop (1 + i) items
let new_list = items.filter(function(val,idx,ary) { return idx != i });
items.splice(i,1);
items.remove(i);
items.removeAt(i)
local removedItem = table.remove(items,i)
unset($items[$i]);
list[i] := list[high(list)];
setlength(list,high(list));
$removed_element = splice @items, $i, 1;
del items[i]
items.pop(i)
items.delete_at(i)
items.remove(i)
val without = {
val (left, right) = items.splitAt(i)
left ++ right.drop(1)
}
(define (removeElementByIndex L i)
(if (null? L)
null
(if (= i 0)
(cdr L)
(cons (car L) (removeElementByIndex (cdr L) (- i 1)))
)
)
)
items removeAt: i.