You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Breaking Changes
iOS 11
watchOS 4
tvOS 11
Operators are no longer duplicated in the umbrella SDGCornerstone module. Import SDGLogic, SDGMathematics and SDGCollections directly to get access to them (until Swift properly exports operators).
Interpolation of strict strings and semantic markup require values to be converted to explicit text representations. Existing interpolations which rely on implicit description will no longer compile.
varstrict:StrictString=""
// String‐like types can be interpolated directly:
letstring:String="Hello, world!"letcharacter:Unicode.Scalar="?"strict="\(string) ...\(character)"
// Most other types must be explicitly converted to some predictable text representation:
letnumber=Int.random(in:0...1000)strict="“\(number.inRomanNumerals())” means the same as “\(number.inDigits())”."
// The Swift compiler’s own description of any value can still be requested explicitly:
letsomething:Any=getError()strict="Error: \(arbitraryDescriptionOf:something)"
Bug Fixes
Conditional patterns can be successfully compared against the end of a collection.