Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Common lisp sequence functions work on lists, vectors (including those specialized for bits, bytes, etc), and strings.


Some of them do. There are lots of redundant functions in CL, for reasons of backwards compatibility.


All 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.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: