I find it surprising that rings (from make-ring
) are sequences (satisfy sequencep
), but cannot be operated on by standard sequence functions (length
, elt
, etc.).
What, then, does being a "sequence" entail? The Elisp manual says that:
The “sequence” type is the union of two other Lisp types: lists and arrays. In other words, any list is a sequence, and any array is a sequence. The common property that all sequences have is that each is an ordered collection of elements.
The diagram in the manual does not include rings. Should rings really be considered sequences?