I've noticed that in some cases, the chunking functionality provided by 
Enum.chunk_every isn't enough. For example, It'd be awesome if chunk_every 
could offset the window.

so [1,2,3,4,5] with count 3 step 2 and offset of -2 would return
[1], [1,2], [1,2,3], [2,3,4], [3,4,5], [4,5], [5]

Elements in the leftover option would be to the left of the initial chunks 
less than count. It'd also be neat if you could have different leftover 
options for the left-hand and right-hand leftovers.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/ecb42760-f5f2-447e-89be-dc1081654b5cn%40googlegroups.com.

Reply via email to