In Clojure, what would be the nicest way to have a sliding window over a (finite, not too large) seq? Should I just use drop and take and keep track of the current index or is there a nicer way I’m missing?
In Clojure, what would be the nicest way to have a sliding window over
Share
I think that partition with step 1 does it: