Re: [swift-dev] Documentation

2016-01-06 Thread Trent Nadeau via swift-dev
Reposting from thread on swift-evolution: Big +1 from me. Rust's docs do this well too across trait implementations. See, for example, https://doc.rust-lang.org/std/fs/struct.File.html. On Wed, Jan 6, 2016 at 5:22 PM, Ted kremenek via swift-dev < swift-dev@swift.org> wrote: > Hi James, > > We're

Re: [swift-dev] Documentation

2016-01-06 Thread Trent Nadeau via swift-dev
SwiftDoc is nice, but it doesn't quite do everything I want. The pages for protocols don't list implementing types in the stdlib, and the pages for types don't separate the methods by the protocol(s) that require them. Both are very useful when using generics so that the developer can create the be

Re: [swift-dev] Documentation

2016-01-06 Thread Trent Nadeau via swift-dev
nion. At a minimum, it's worth > pinging Nate to have him join in on the discussion rather than trying to > replace a really great site that already does a large part of what people > are looking for. > > -- Erica > > > On Jan 6, 2016, at 6:19 PM, Trent Nade

[swift-dev] Help with SR-1052: Handling generic return values

2016-04-22 Thread Trent Nadeau via swift-dev
Could someone who knows the generics system better than I give me a pointer for my question in https://bugs.swift.org/browse/SR-1052 (support for @discardableResult attribute)? Question: I'm starting to look at Part 5 (having the compiler use the new attr). What I have so far appears to be workin

Re: [swift-dev] Help with SR-1052: Handling generic return values

2016-05-03 Thread Trent Nadeau via swift-dev
Can anyone help me with this? On Fri, Apr 22, 2016 at 6:43 PM, Trent Nadeau wrote: > Could someone who knows the generics system better than I give me a > pointer for my question in https://bugs.swift.org/browse/SR-1052 (support > for @discardableResult attribute)? > > Question: > > I'm starting

Re: [swift-dev] Help with SR-1052: Handling generic return values

2016-05-04 Thread Trent Nadeau via swift-dev
Thanks, Joe. I'll give ApplyExpr a try. On Wed, May 4, 2016 at 2:34 PM, Joe Groff wrote: > > > On May 3, 2016, at 6:28 PM, Trent Nadeau via swift-dev < > swift-dev@swift.org> wrote: > > > > Can anyone help me with this? > > I replied to the patch: &

Re: [swift-dev] Help with SR-1052: Handling generic return values

2016-05-10 Thread Trent Nadeau via swift-dev
;ll give ApplyExpr a try. > > On Wed, May 4, 2016 at 2:34 PM, Joe Groff wrote: > >> >> > On May 3, 2016, at 6:28 PM, Trent Nadeau via swift-dev < >> swift-dev@swift.org> wrote: >> > >> > Can anyone help me with this? >> &g