Want this course?
Lists are a persistent linked list implementation. They give you sequential access, but new items add to the beginning.
Code is available: lispcast/clojure-collections
You can checkout the code in your local repo with this command:
$CMD git clone https://github.com/lispcast/clojure-collections.git $CMD cd clojure-collections
Queues are not used very often in Clojure. There is no literal syntax and there are more performant, mutable, thread-safe queues available when you need to communicate between threads. However, sometimes it's exactly what you need. Queues are ordered sequential collections that add to the end and remove from the beginning.