A PersistentQueue
is another persistent data structure with different behaviors and performance characteristics compared to a list, vector, map, and set. If you look at the docstrings for pop
and peek
, for example, you will see that this data type is referred to as a “queue”.
Since it does not have a syntax literal, you need to start empty with cljs.core.PersistentQueue/EMPTY
.
This post provides a good summit summary of the equivalent of Clojure fooobar.com/questions/12464 / ...
source share