String Index unification vs BidirectionalCollection requirements

It would be great if the fix aligned Array and String API so that trappings was not needed. I am personally allergic to trapping APIs and much rather deal with optional returns or throwing.

Edit: reference Behavior of index(after:)

1 Like