[swift-evolution] Feature proposal: Range operator with step
davesweeris at mac.com
davesweeris at mac.com
Fri Mar 25 09:55:51 CDT 2016
Huge +1 from me, but a character can't be valid for both function/variable names and operators because it'd break something in the compiler. Or at least I think that’s what I remember reading here.
That doesn’t strictly rule out custom keywords, but those are probably part of the AFAIK-still-out-of-scope macro discussion.
- Dave Sweeris
> On Mar 24, 2016, at 9:24 AM, David Knothe via swift-evolution <swift-evolution at swift.org> wrote:
>
> Well I would love to be able to create and use my own keywords / alphanumeric operators.
> Depending on the type of code you are writing, these may be more or less helpful. The same is true for the 'step' keyword - maybe most people won't ever use it - but I think there should certainly be a possiblity, be it a concrete keyword built into the language or the possibility to create my own ones.
More information about the swift-evolution
mailing list