Introducing a "cycled" method to the standard library
- Proposal: SE-TBD
- Author(s): Erica Sadun
- Review manager: TBD
- Status: Preliminary Implementation in Proposal
This proposal re-architects
guard case and
if case grammar for unwrapping complex enumerations.
This proposal introduces configuration tests to differentiate platform conditions in conditional compilation blocks.
This proposal eliminates several categories of user errors. It mitigates subtle, hard-to-find bugs in Swift protocol code that compile without warning. Introducing "role" keywords that document code intent will increase protocol safety and enable the compiler to test for issues by matching desired behaviors against actual code.