[swift-evolution] [Returned for revision] SE-0077: Improved operator declarations
L. Mihalkovic
laurent.mihalkovic at gmail.com
Sat Jun 25 13:25:44 CDT 2016
Don't you think that for no other reason than completeness it would make sense to document the metacircular definition I suggested?
> On Jun 25, 2016, at 7:57 PM, Anton Zhilin via swift-evolution <swift-evolution at swift.org> wrote:
>
> I replaced `precedencegroup` with `precedence` and added `Precedence`
> suffix to all precedence group names. See:
>
> https://github.com/Anton3/swift-evolution/blob/fix-operator-
> precedence/proposals/0077-operator-precedence.md
>
> My feelings:
> 1. `precedencegroup` describes what it declares more precisely
> 2. `precedence` is shorter (partially compensating for longer names)
> 3. `precedence` can be correctly interpreted as "precedence level"
> 4. `precedence` looks nicer overall
>
> 5. `Precedence` suffix is bulky. One must specify it in operator
> declarations and in all relationships
> 6. All groups ending with adjectives may unambiguously drop the suffix
> 7. Number of such groups is small. New groups will tend to be named after
> corresponding operators, and they will be noun-based
>
> Questions:
> 1. Where else can we drop -Precedence?
> 2. Can we make more names end with adjectives?
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
More information about the swift-evolution
mailing list