8 ms·
Common Lisp has a sequence type that includes lists and vectors (and because strings are vectors, strings). Ordinary functions like sort, remove, find, reverse,
by brudgers 10y ago
Common Lisp has a sequence type that includes lists and vectors (and because strings are vectors, strings). Ordinary functions like sort, remove, find, reverse, and length operate on them.
Clojure's seq extends the abstraction to include maps and sets and other types implementing the interface.