Chris Lattner wrote: > Just FWIW, IMO, these make sense as operators specifically because they are > commonly used by math people as operations that transform the thing they are > attached to. Superscript 2 is a function that squares its operand. That > said, perhaps there are other uses that I’m not aware of which get in the way > of the utilitarian interpretation.
But there are SO MANY uses for superscripts, subscripts, and other such annotations, and they are all context specific, just in math, without getting into chemistry, physics, statistics, and so forth. They’re really more like methods on the object to which they’re attached, or the combination of a method and an argument. Wouldn’t classing them as identifiers lend itself better to this? Apologies in advance if this is a waste of everyone’s time. - John Payne _______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
