[swift-evolution] [Returned for revision] SE-0077: Improved operator declarations
Anton Zhilin
antonyzhilin at gmail.com
Fri Jun 24 07:47:11 CDT 2016
L. Mihalkovic via swift-evolution <swift-evolution at ...> writes:
> > Could you please explain what you mean by "meta-circular syntax for
the
> > precedence group definitions"? An example?
> =define it using existing swift constructs rather than by extending
swift with new kwd looks like grp
> matches a struct.
I still don't fully understand without an example :(
If you mean something like this:
protocol PrecedenceGroup_Additive {
associatedtype StrongerThan_Comparative
associatedtype WeakerThan_Multiplicative
}
Then this is just ugly.
More information about the swift-evolution
mailing list