> +1, although I don’t know why we're supporting this:
>
> // 1.5.8 ..< 2.0.0.package(url: "/SwiftyJSON", from: "1.5.8"),
>
> when, at least as far as I can tell, this:
>
> // 1.5.8 ..< 2.0.0.package(url: "/SwiftyJSON", .uptoNextMajor("1.5.8")),
>
> does the same thing, and the spelling is, at least to me, clearer as well.
> Dunno, maybe the “from” version is a term of art that I’m just not familiar
> with.
>
>
Hi David,

Thank you for the review.

It is true that `from` and `.uptoNextMajor` are exactly same. We think that
the most widely used requirement will be `.uptoNextMajor`, so we wanted to
provide a shorthand for it.
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to