Schematic of a SWIFT pulse sequence with interleaved chemical shift... | Download Scientific Diagram
Point-Free on Twitter: "Swift's type system doesn't yet let us generalize this function to Swift.Sequence (and return the same Sequence type), but you can get halfway there and do what Swift does
![swift4, general function : sequence(first:next:) issue - Out of bounds: index >= endIndex - Stack Overflow swift4, general function : sequence(first:next:) issue - Out of bounds: index >= endIndex - Stack Overflow](https://i.stack.imgur.com/699XS.png)
swift4, general function : sequence(first:next:) issue - Out of bounds: index >= endIndex - Stack Overflow
![Generate a sequence of values in Swift | This Dev Brain by Michal Tynior | This Dev Brain by Michal Tynior Generate a sequence of values in Swift | This Dev Brain by Michal Tynior | This Dev Brain by Michal Tynior](https://thisdevbrain.com/content/images/2021/04/swift_stride.jpg)