Restructuring Swift Condition Clauses

SE-0099 (via Erica Sadun): Swift condition clauses appear in guard, if, and while statements. This proposal re-architects the condition grammar to enable an arbitrary mix of Boolean expressions, let conditions (which test and unwrap optionals), general case clauses for arbitrary pattern matching, and availability tests. It removes where clauses from optional binding conditions and case … Continue reading Restructuring Swift Condition Clauses