Re: [swift-evolution] Open Source version of "The Swift Programming Language"

2016-04-16 Thread Hugues Bernet-Rollande via swift-evolution
nd allow it to be updated from a git repo. It would > be great if the website allowed you to browse tagged release versions > (without having to go to github). > > > On Sat, Apr 16, 2016 at 1:40 AM, Hugues Bernet-Rollande via > swift-evolution wrote: > >> Hi, >> >

[swift-evolution] Open Source version of "The Swift Programming Language"

2016-04-15 Thread Hugues Bernet-Rollande via swift-evolution
Hi, Not sure this request fit the swift evolution mailing list, but it would be great to have an open source (GitHub) version of the programming language guide (https://swift.org/documentation/#the-swift-programming-language) in order to suggest edit regarding validated evolution and/or edit o

Re: [swift-evolution] allowing to specify optionality with type inference

2016-03-31 Thread Hugues Bernet-Rollande via swift-evolution
uot; ``` To close (or open for who wants to) this debate, I think Optional have already enough syntax. Hugues On Mar 31 2016, at 4:22 pm, Erica Sadun <er...@ericasadun.com> wrote: > > >> On Mar 24, 2016, at 4:22 AM, Hugues Bernet-Rollande via swift-evolution &l

Re: [swift-evolution] allowing to specify optionality with type inference

2016-03-24 Thread Hugues Bernet-Rollande via swift-evolution
> Hi Hughes, > > > > What's wrong with: let s = Optional(String("abc")) > > > > > > On Thu, Mar 24, 2016 at 12:22 PM, Hugues Bernet-Rollande via swift-evolution <[swift-evolution@swift.org](mailto:swift-evolution@swift.org)> wrote: >

Re: [swift-evolution] allowing to specify optionality with type inference

2016-03-24 Thread Hugues Bernet-Rollande via swift-evolution
Set = [1, 2, 3] > > > > Which creates a Set<Int> rather than an Array<Int>. > > > > I hope this helps! > > Andrew Bennett > > > > > > On Thu, Mar 24, 2016 at 9:22 PM, Hugues Bernet-Rollande via swift-evolution <

[swift-evolution] allowing to specify optionality with type inference

2016-03-24 Thread Hugues Bernet-Rollande via swift-evolution
In a strongly typed language, such as Swift is, type inference is greatly appreciated as it declutter the instance type definition. For example, in the following statement, the compiler easily deduct the type of `aString` by the return type of `String.init()` ``` let aString = String()