3 ms·
Common lisp sequence functions work on lists, vectors (including those specialized for bits, bytes, etc), and strings.
by anamax 18y ago
Common lisp sequence functions work on lists, vectors (including those specialized for bits, bytes, etc), and strings.
- GeoJawDguJin 18y agoSome of them do. There are lots of redundant functions in CL, for reasons of backwards compatibility.
- anamax 18y agoAll of the sequence functions and special forms work on all of the sequence types. The "redundancy" is that there are also functions/forms that work on specific sequence types. It would be surprising if there weren't because if two data types have exactly the same set of operations, one of them may be unnecessary.