JuliaLang/Iterators.jl — pull request #22 by micklat (2014-04-19 10:29:43+00:00)
Title: add everynth (iterate through every n'th element of a collection)

I needed this for a gibbs sampler and thought it might be generally useful: take every n'th element from a collection. e.g. collect(everynth(1:10, 3)) == [3,6,9]