search for:
drop(BasicList,{...})
-- drop some elements
Synopsis:
Usage:
w = drop(v,{m,n})
Function:
drop
-- drop some elements
Input:
v
, an instance of class
BasicList
.
{m,n}
, an instance of class
List
: a pair of natural numbers
Output:
w
, an instance of class
BasicList
: a list by omitting those elements of the list
v
in positions
m
through
n
.
i1 : drop({a,b,c,d,e},{2,4})
o1 = {a, b}
o1 : List
search for: