Uploaded image for project: 'Swift'
  1. Swift
  2. SR-6691

Sequence.split should have a Lazy equivalent

    XMLWordPrintable

    Details

      Description

      Sequence.split is eager, but if you are splitting a collection, it should be possible to do it lazily. This could be done via an extension to LazyCollectionProtocol so you could write "a.b.c".lazy.split(separator: ".").

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            airspeedswift Ben Cohen
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated: