<sequence>

The class of collections whose keys are consecutive integers starting from zero.

Sequences must be stable under iteration, and the iteration order must match the order of keys.  Thus, the key associated with a sequence’s iteration state can be determined by keeping a counter in parallel with the iteration state.

The default methods for add, add-new, remove, choose, choose-by, intersection, union, remove-duplicates, copy-sequence, concatenate, reverse, and sort all return new sequences that are instances of the type-for-copy of their primary sequence argument.

Exported from

Modifiers

abstract free open

Superclasses

Subclasses

Functions on <sequence>

Functions returning <sequence>

Adds an element to a sequence.
Adds a new element to a sequence.
Removes an element from a sequence.
Returns those elements of a sequence that satisfy a predicate.
Returns those elements of a sequence that correspond to those in another sequence that satisfy a predicate.
Returns the intersection of two sequences, a new sequence containing only those elements of sequence1 that also appear in sequence2.
Returns the union of two sequences, a sequence containing every element of sequence1 and sequence2.
Returns a sequence without duplicates.
Creates a freshly allocated sequence containing the elements of source between start and end.
Returns a sequence containing all the elements of all the sequences, in order.
Returns a sequence containing the same elements as a source sequence, but in reverse order.
Returns a sequence containing the elements of a source sequence sorted into ascending order.
Returns an appropriate type for creating mutable copies of its argument.
The common-dylan module.
Whenever possible, we have tried to keep the Dylan module pristine and unextended, preferring to add our extensions to separate modules or libraries.
The class of collections, aggregate data structures.
The class of sequences that may be modified.
The class of arithmetic sequences.
The class of stretchy sequences.
A subsequence represents an aliased reference to some part of an existing sequence.
Adds a new element to a sequence, possibly modifying the sequence.
Copies an associative list.
Deletes associations from the associative list.
Adds an association to a sequence.
Looks up a value given a key.
Maps a function over a sequence, then chooses selected elements.
A generic function.
Returns the concatenation of one or more sequences in a sequence of a specified type.
Concatenates sequences then maps a function over the resulting sequence.
Copies bytes from one byte collection to another, or copies bytes within a byte collection.
Returns a sequence containing the elements of one sequence that are not members of a second.
A generic function.
A generic function.
Returns elements of a sequence except those from either end.
Fills a table with the keys and elements supplied.
Find an element satisfying a predicate.
Returns the method in a generic function that has particular specializers.
Find an element satisfying a predicate, returning it and the rest of the sequence.
Returns the first element of a sequence.
A generic function.
Find an element and return its index.
A generic function.
Returns the last element of sequence.
Parses a list of command-line arguments.
Takes a list and returns two lists: one that satisfies a predicate, and one that doesn’t.
Returns the key at which a particular value occurs in a sequence.
Verifies that one element comes before another in a sequence.
Returns a sequence without duplicates, possibly modifying the sequence.
A generic function.
Replaces a portion of a sequence with the elements of another sequence.
Returns a sequence containing the same elements as a source sequence, but in reverse order.
Prepend a reversed sequence to another sequence.
Serves the same purpose as find-key.
Returns the second element of a sequence.
Like collection-hash, only a more efficient version just for sequences.
Returns a sequence containing the elements of a source sequence sorted into ascending order.
A function.
Returns the position where a pattern appears in a sequence.
Returns elements from either end of a sequence.
Returns the third element of a sequence.
Returns a stream type depending on the sequence.
A generic function.
A generic function.
Returns the class precedence list of a class.
Returns the sequence of format arguments that was supplied as an initialization argument when the simple-condition was created.
Returns the dimensions of an array, as a sequence of integers.
Returns the direct subclasses of a class.
Returns the direct superclasses of a class.
Returns the specializers of a function.
Returns the methods of a generic function.
Returns a sequence containing the keys of its collection argument.
A generic function.
A generic function.
A generic function.
Returns the regular arguments found by parsing an argument list.
A function.
There are two unrelated functions named split.
Returns the contents of a stream.
A generic function.
Splits an PATH-type environment variable into individual values.