[swift-dev] Unmanaged API flip flop

2016-07-04 Thread Kyle Jessup via swift-dev
I have this code which uses Unmanaged and the API seems to vary depending on if I am using a 3.0 Preview or a development snapshot. I see it now when trying the June 13th/27th preview vs June 20th snapshot. class MyClass {} let holderObject = MyClass() #if FLIP // works with PREVIEW le

Re: [swift-dev] TWISt-shout Newsletter 2016-07-04

2016-07-04 Thread Kenny Leung via swift-dev
Thanks! I’ll incorporate it into the newsletter. -Kenny > On Jul 4, 2016, at 12:52 PM, Karl wrote: > > >> On 4 Jul 2016, at 21:41, Kenny Leung via swift-dev >> wrote: >> >> Here is your TWISt-shout Newsletter for the week of 2016-06-27 to 2016-07-04 >> >> https://github.com/pepperdog/TWIS

Re: [swift-dev] TWISt-shout Newsletter 2016-07-04

2016-07-04 Thread Karl via swift-dev
> On 4 Jul 2016, at 21:41, Kenny Leung via swift-dev > wrote: > > Here is your TWISt-shout Newsletter for the week of 2016-06-27 to 2016-07-04 > > https://github.com/pepperdog/TWISt-shout/blob/master/2016/TWISt-shout-2016-07-04.md > > Enjoy! > > -Kenny > > > > > _

[swift-dev] TWISt-shout Newsletter 2016-07-04

2016-07-04 Thread Kenny Leung via swift-dev
Here is your TWISt-shout Newsletter for the week of 2016-06-27 to 2016-07-04 https://github.com/pepperdog/TWISt-shout/blob/master/2016/TWISt-shout-2016-07-04.md Enjoy! -Kenny ___ swift-dev mailing list swift-dev@swift.org https://lists.swift.org/ma

[swift-dev] SE-0095: SIL syntax and Any.self problem

2016-07-04 Thread Josef Willsher via swift-dev
Hi everyone, I’ve been implementing SE-0095 (here ) and have hit an issue around how Any.self is treated. When in the type position, I parse Any like any other

Re: [swift-dev] Random() in the standard library

2016-07-04 Thread James Andrews via swift-dev
Hi All, Thanks a lot for the quality feedback. I think that not only answers my question, but has also swayed me in the direction of not having Random() in the standard library. At least for now. My original thinking was along the lines of what you suggest in that leaving it out might encour

Re: [swift-dev] Random() in the standard library

2016-07-04 Thread Gwynne Raskind via swift-dev
C++11 defines PRNGs in the STL, but even then the API is fairly complex thanks to the need for so many different options for source, distribution, seeds, security... - and it *still* doesn’t cover all of what I consider the obvious cases (YMMV). I agree with Robert here, Swift isn’t ready to ha