Hi all,
A few weeks ago, Joe Groff challenged users on Twitter to create a
Rational type making use of the new integer protocols implemented for
Swift 4. As it happens, I'd already started a project to try out these new
number protocols. Now that I think the most embarrassing bugs have been
squash
That’s a very neat helper!
On Sat, Jun 10, 2017 at 10:12 Karl Wagner wrote:
> On 10. Jun 2017, at 03:18, Xiaodi Wu via swift-users <
> swift-users@swift.org> wrote:
>
> Hi all,
>
> A few weeks ago, Joe Groff challenged users on Twitter to create a
> Rational type ma
Replying to swift-users as well, as it's probably the more appropriate
forum.
SE-0142 (Permit where clauses to constrain associated types) is what
brought about this feature. It is now used in the standard library.
On Wed, Jul 5, 2017 at 00:26 Jens Persson via swift-evolution <
swift-evolut...@s
Ouch. Yes, the upper bound can't be required to have a successor.
On Fri, Apr 8, 2016 at 3:45 PM Erica Sadun wrote:
> It's a really good corner case to consider if you're thinking about
> redesigning ranges though. -- E
>
> > On Apr 8, 2016, at 8:43 AM, Nate Cook wrote:
> >
> > You can stride th