Create a new iset composed of each of the integers in args
.
Returns an iset with all integers in the list ls
added to
iset
, possibly mutating iset
in the process.
Returns an iset with all integers in the list ls
. If the
optional argument iset
is provided, also includes all
elements in iset
, leaving iset
unchanged.
Returns a new copy of iset
.
Returns an iset with the integers in ls
added to iset
,
possibly mutating iset
in the process.
Returns an iset with the integers in ls
added to iset
,
without changing iset
.
Returns an iset with the integers in ls
removed (if present)
from iset
, possibly mutating iset
in the process.
Returns an iset with the integers in ls
removed (if present)
from iset
, without changing iset
.
Returns an iset composed of the integers resulting from applying
proc
to every element of iset
.
Returns an iset containing all integers which occur in any of the
isets args
. If no args
are present returns an empty
iset.
Returns an iset containing all integers which occur in a
and
every of the isets args
. If no args
are present
returns a
.
Returns an iset containing all integers which occur in a
,
but removing those which occur in any of the isets args
. If
no args
are present returns a
. May mutate a
.
As above but doesn't change a
.