JuliaLang/Iterators.jl — pull request #2 by dcjones (2013-01-20 03:54:35+00:00)
Title: Add a partition iterator

This is essentially the partition function from clojure, which I found myself wanting. It does this sort of thing:

```julia
for u in partition('a':'z', 3)
println(u)
end
```

```julia
('a','b','c')
('d','e','f')
('g','h','i')
...
```

Not to be confused with the partition function in haskell, which is entirely different.