I see. What about prefix(upTo:)
, prefix(through:)
and suffix(from:)
on Collection
? Those have implementations in terms of subscript(bounds:)
, and I can’t imagine doing anything else.
I see. What about prefix(upTo:)
, prefix(through:)
and suffix(from:)
on Collection
? Those have implementations in terms of subscript(bounds:)
, and I can’t imagine doing anything else.