Class Bag

The abstract class for FSet functional bags (multisets). It is a structure
class.

Part of:

package fset, class wb-bag, class collection

Direct Superclass

collectionThe root class of the FSet functional collections hierarchy. It is a
structure class.

Direct Subclass

wb-bagA class of functional bags (multisets) represented as weight-balanced binary
trees. This is the ...

Direct Method

compareReturns one of :less, :greater, :equal, or :unequal according as x
is less than, greate...
convertConverts the collection to the specified type. Some methods may
take additional keyword argument...
countIf collection is a Lisp sequence, this simply calls cl:count. On an FSet
collection, the def...
count-ifIf collection is a Lisp sequence, this simply calls cl:count-if. On an
FSet collection, the ...
count-if-notIf collection is a Lisp sequence, this simply calls cl:count-if-not.
On an FSet collection, t...
filterReturns a new collection containing those members or pairs of collection
for which fn returns...
findIf collection is a Lisp sequence, this simply calls cl:find. On an FSet
collection, the defa...
find-ifIf collection is a Lisp sequence, this simply calls cl:find-if. On an
FSet collection, the ...
find-if-notIf collection is a Lisp sequence, this simply calls cl:find-if-not.
On an FSet collection, th...
imageReturns a new collection containing the result of applying fn to each
member of collection, w...
reduceIf collection is a Lisp sequence, this simply calls cl:reduce (q.v.).
On an FSet collection, ...