cl:sequence
) represented as weight-balanced binary trees.seq | The abstract class for FSet functional seqs (sequences, but we use the short name to avoid confus... |
---|
contents | |
---|---|
default |
compare | Returns one of :less , :greater , :equal , or :unequal according as x is less than, greate... |
---|---|
compare-lexicographically | Returns the result of a lexicographic comparison of a and b , whichcan be strings, vectors, l... |
concat | Returns the concatenation of seq1 and seq2 . |
convert | Converts the collection to the specified type. Some methods may take additional keyword argument... |
domain | Returns the domain of the map, that is, the set of keys mapped by the map. |
empty? | Returns true iff the collection is empty. |
first | Returns the first element of seq , i.e., element 0. This has a back-compatibility method for l... |
insert | Returns a new sequence like seq but with val inserted at idx (the seqis extended in either... |
internal-do-seq | Calls elt-fn on successive elements of seq , possibly restricted bystart and end , and in ... |
iterator | Returns an iterator for the collection. (These are stateful iterators and are not thread-safe; i... |
last | Returns the last element of seq , i.e., element (1- (size seq)) . Thishas methods for CL list... |
less | On a set, removes value1 from it if present, returning the updated set.On a bag, removes valu... |
less-first | Returns the subsequence of seq from element 1 through the end. |
less-last | Returns the subsequence of seq from element 0 through the next-to-lastelement. |
lookup | If collection is a map, returns the value to which key is mapped.If collection is a seq, t... |
range | Returns the range of the map, that is, the set of all values to which keys are mapped by the map. |
reverse | Returns seq in reverse order. |
size | Returns the number of members in a set, seq, or bag, or the number of pairs in a map. The size o... |
sort | Returns seq sorted by pred , a function of two arguments; if key issupplied, it is a functi... |
stable-sort | Returns seq sorted by pred , a function of two arguments; if key issupplied, it is a functi... |
subseq | Returns the subsequence of seq from start (inclusive) to end (exclusive),where end defau... |
verify | |
with | On a set, adds value1 to it, returning the updated set. On a bag, addsvalue2 occurrences of... |
with-default | Returns a new map or seq with the same contents as collection but whosedefault is now new-def... |
with-first | Returns seq with val prepended, that is, val is element 0 of theresult, and the elements o... |
with-last | Returns seq with val appended, that is, val is element (size seq) of the result. |
count | If collection is a Lisp sequence, this simply calls cl:count . On an FSetcollection, the def... |
---|---|
count-if | If collection is a Lisp sequence, this simply calls cl:count-if . On anFSet collection, the ... |
count-if-not | If collection is a Lisp sequence, this simply calls cl:count-if-not .On an FSet collection, t... |
default | Returns the default for the map or seq, i.e., the value returned by lookup when the supplied ke... |
domain-contains? | Returns true iff the domain of the map or seq contains x . (The domainof a seq is the set of v... |
filter | Returns a new collection containing those members or pairs of collection for which fn returns... |
find | If collection is a Lisp sequence, this simply calls cl:find . On an FSetcollection, the defa... |
find-if | If collection is a Lisp sequence, this simply calls cl:find-if . On anFSet collection, the ... |
find-if-not | If collection is a Lisp sequence, this simply calls cl:find-if-not .On an FSet collection, th... |
image | Returns a new collection containing the result of applying fn to eachmember of collection , w... |
position | If collection is a Lisp sequence, this simply calls cl:position . On anFSet seq, the default... |
position-if | If collection is a Lisp sequence, this simply calls cl:position-if .Also works on an FSet seq... |
position-if-not | If collection is a Lisp sequence, this simply calls cl:position-if-not .Also works on an FSet... |
range-contains? | Returns true iff the range of the map or seq contains x . (The rangeof a seq is the set of mem... |
reduce | If collection is a Lisp sequence, this simply calls cl:reduce (q.v.).On an FSet collection, ... |
remove | If collection is a Lisp sequence, this simply calls cl:remove . On anFSet seq, the default f... |
remove-if | If collection is a Lisp sequence, this simply calls cl:remove-if .Also works on an FSet seq; ... |
remove-if-not | If collection is a Lisp sequence, this simply calls cl:remove-if-not .Also works on an FSet s... |
substitute | If collection is a Lisp sequence, this simply calls cl:substitute . Onan FSet seq, the defau... |
substitute-if | If collection is a Lisp sequence, this simply calls cl:substitute-if .Also works on an FSet s... |
substitute-if-not | If collection is a Lisp sequence, this simply calls cl:substitute-if-not .Also works on an FS... |