food for thought - swift 5 released - bottom types, string interpolation, and stuff.
aliak
something at something.com
Thu Apr 11 06:08:19 UTC 2019
On Tuesday, 9 April 2019 at 06:23:26 UTC, aliak wrote:
> I personally love swift as a language because it's just a
> pleasure to write _and_ read. Swift 5 was released recently [0]
> and has a few interesting additions, particularly the additions
> they've added to string interpolation [1] so that you could do
> things like
>
> let a: MyType = "this is an \(type: .interpolated) string"
This should've been:
let a: MyType = "this is an \(min: 1) string"
More information about the Digitalmars-d
mailing list