[SR-6867] "Chunking" split #49416
Labels
feature
A feature request or implementation
good first issue
Good for newcomers
standard library
Area: Standard library umbrella
swift evolution proposal needed
Flag → feature: A feature that warrants a Swift evolution proposal
Additional Detail from JIRA
md5: d78e8d70fcb68ef04d5d9fac882fce1f
Issue Description:
It is possible to split a collection per element, but not by a count i.e. split an array into subsequences of length 3, or more generally any collection into subsequence of length n. There should be a ability to do this lazily for collections and eagerly for sequences.
The text was updated successfully, but these errors were encountered: