[swift-users] TWISt-shout Newsletter New Year's Day 2018

2017-12-31 Thread Kenny Leung via swift-users
Hi All. Here is your TWISt-shout Newsletter for the week of 2017-12-25 to 2017-12-31 https://github.com/pepperdog/TWISt-shout/blob/master/2018/TWISt-shout-2018-01-01.md Happy New Year! Enjoy! -Kenny _

Re: [swift-users] Rethrows issue

2017-12-31 Thread Kenny Leung via swift-users
How about this? func withPredicateErrors( _ predicate: @escaping (Element) throws -> Bool, do body: ((Element) -> Bool) -> Return ) rethrows -> Return { var caught: Error? var element: Element? let value = body { elem in element = elem do {

Re: [swift-users] Rethrows issue

2017-12-31 Thread Jacob Bandes-Storch via swift-users
On Sat, Dec 30, 2017 at 11:35 PM, Nevin Brackett-Rozinsky via swift-users < swift-users@swift.org> wrote: > So, I know this doesn’t actually address your issue, but I think it is > important to clarify that β€œrethrows” does not guarantee anything about the > *type* of error thrown by a function. Wh

Re: [swift-users] [swift-evolution] Happy new year Swift community.

2017-12-31 Thread David Hart via swift-users
Thank you very much and happy new Swift year to everybody. > On 1 Jan 2018, at 00:42, Adrian Zubarev via swift-evolution > wrote: > > Well some of you guys have to wait a little longer, but I can already wish > everyone a happy new year from Germany. πŸŽ‰πŸŽŠπŸŽ†πŸŽ‡ > > -- > Adrian Zubarev > Sent with

[swift-users] Happy new year Swift community.

2017-12-31 Thread Adrian Zubarev via swift-users
Well some of you guys have to wait a little longer, but I can already wish everyone a happy new year from Germany. πŸŽ‰πŸŽŠπŸŽ†πŸŽ‡ -- Adrian Zubarev Sent with Airmail ___ swift-users mailing list swift-users@swift.org https://lists.swift.org/mailman/listinfo/s

Re: [swift-users] KeyedDecodingContainerProtocol decode methods non-mutating?

2017-12-31 Thread Brent Royal-Gordon via swift-users
> On Dec 28, 2017, at 1:57 PM, Ingo Maier via swift-users > wrote: > > Can anybody tell why the decode methods in UnkeyedDecodingContainer > are marked mutating but those in KeyedDecodingContainerProtocol and > SingleValueDecodingContainer are not? Is it a simple oversight or is > there a reason