[Pitch] Predecessor and successor operators for integers

This is evocative of the discussion around Bool.toggled, which was given a cool reception because it is a respelling of !.

But you are not required to rewrite the entire expression as a single closure: map provides a solution to both use cases:

selectedUser
    .profile
    .personalInfo
    .age
    .map { $0 + 1 } // or `.map { !$0 }`
2 Likes