Swift Forums
Add Sequence.split(maxLength:)
Evolution
Pitches
CTMacUser
(Daryle Walker)
February 25, 2020, 9:51pm
8
This is a "chunked sequence," which has been brought up before:
What makes a good lazy procedure? And how to do it?
Add an
adjacentPairs
algorithm to Sequence
Supporting collection slice by slices of a given size parameter
Pre-pitch: striding through collections should be easier
Chunking Collections and Strings in Swift 5.1
4 Likes
Yet another chunked sequence/collection idea
show post in topic
Related Topics
Topic
Replies
Views
Activity
[Pitch]Add a Lazy split function for Sequence
Pitches
2
800
October 14, 2023
Splitting a Collection by another Collection
Discussion
2
1667
October 18, 2019
Supporting collection slice by slices of a given size parameter
Pitches
collection
,
extensions
25
4371
October 21, 2018
Chunking Collections and Strings in Swift 5.1
Using Swift
generics
,
string
,
collection
,
protocols
19
7779
June 27, 2020
Xcode 14b3 Ambiguous use of 'split(separator:maxSplits:omittingEmptySubsequences:)'
Using Swift
vapor-4
6
2383
January 6, 2024