Set(Vecsmall([1,2,1,3]))
Set(List([]))
L=List([1,3,1,2,3]);
Set(L)
listsort(L,1); L
Set(1)
a=Set([5,-2,7,3,5,1,x,"1"])
b=Set([7,5,-5,7,2,"1"])
setintersect(a,b)
setisset([-3,5,7,7])
setisset(a)
setminus(a,b)
setsearch(a,3)
setsearch(a,"1")
setsearch(b,3)
setsearch(L,3)
setsearch(1,3)
setunion(a,b)

X = [1,2,3]; Y = [2,3,4];
setbinop((x,y)->x+y, X,Y)
setbinop((x,y)->x+y, X)
setbinop(x->x, X)
