| bag | The abstract class for FSet functional bags (multisets).  It is a structure class. | 
|---|
| contents | 
|---|
| arb | Returns an arbitrary member or pair of a set, bag, or map.  Specifically, on a nonempty set, retu... | 
|---|---|
| at-rank | On a set, returns the element with rank rank; on a bag, returnsthat element with its multiplic... | 
| bag-difference | Returns a bag whose multiplicity, for any value, is its multiplicity in bag1less that inbag2... | 
| bag-product | Returns a bag whose multiplicity, for any value, is the product of its multiplicities in the two ... | 
| bag-sum | Returns a bag whose multiplicity, for any value, is the sum of its multiplicities in the two argu... | 
| compare | Returns one of :less,:greater,:equal, or:unequalaccording asxis less than, greate... | 
| contains? | Returns true iff the set or bag contains x. | 
| convert | Converts the collection to the specified type.  Some methods may take additional keyword argument... | 
| empty? | Returns true iff the collection is empty. | 
| greatest | On a set, returns two values: the greatest member of the set and true; on a bag, returns three va... | 
| internal-do-bag-pairs | Calls elt-fnon successive pairs of the bag (the second argument isthe multiplicity); when don... | 
| intersection | Returns the intersection of the two sets/bags.  The result is a bag if both arguments are bags; o... | 
| iterator | Returns an iterator for the collection.  (These are stateful iterators and are not thread-safe; i... | 
| least | On a set, returns two values: the smallest member of the set and true; on a bag, returns three va... | 
| less | On a set, removes value1from it if present, returning the updated set.On a bag, removes valu... | 
| lookup | If collectionis a map, returns the value to whichkeyis mapped.If collectionis a seq, t... | 
| multiplicity | Returns the multiplicity of xin the bag. | 
| rank | If collectionis a set or bag that containsvalue, returns the rank ofvaluein the orderin... | 
| set-size | Returns the number of unique members in the bag. | 
| size | Returns the number of members in a set, seq, or bag, or the number of pairs in a map. The size o... | 
| subbag? | Returns true iff subis a subbag ofsuper, that is, for everymember of sub,supercontai... | 
| union | Returns the union of the two sets/bags.  The result is a set if both arguments are sets; otherwis... | 
| verify | |
| with | On a set, adds value1to it, returning the updated set.  On a bag, addsvalue2occurrences of... | 
| count | If collectionis a Lisp sequence, this simply callscl:count.  On an FSetcollection, the def... | 
|---|---|
| count-if | If collectionis a Lisp sequence, this simply callscl:count-if.  On anFSet collection, the ... | 
| count-if-not | If collectionis a Lisp sequence, this simply callscl:count-if-not.On an FSet collection, t... | 
| filter | Returns a new collection containing those members or pairs of collectionfor which fnreturns... | 
| find | If collectionis a Lisp sequence, this simply callscl:find.  On an FSetcollection, the defa... | 
| find-if | If collectionis a Lisp sequence, this simply callscl:find-if.  On anFSet collection, the ... | 
| find-if-not | If collectionis a Lisp sequence, this simply callscl:find-if-not.On an FSet collection, th... | 
| image | Returns a new collection containing the result of applying fnto eachmember of collection, w... | 
| reduce | If collectionis a Lisp sequence, this simply callscl:reduce(q.v.).On an FSet collection, ... |