[swift-evolution] Request to add middle dot (U+00B7) as operator character?
Greg Parker
gparker at apple.com
Thu Dec 17 18:15:28 CST 2015
> On Dec 17, 2015, at 12:14 PM, Ethan Tira-Thompson via swift-evolution <swift-evolution at swift.org> wrote:
>
> I wanted to use ‘·’ as a dot-product operator, but it’s not currently defined as an operator character. (rdar://problem/23930008 <rdar://problem/23930008> suggested I come here for comment.)
>
> Note that dot operator (⋅, U+22C5) is already available for operators and semantically appropriate, but Mac users can conveniently type option-shift-9 to get the middle dot which is a nice feature and consequently it’s more well-known. FWIW, we have U+00B6 (¶) already defined as an operator, this would extend its range by one.
IHNTA, IJWTS "🐶 is an identifier but ⚽︎ is an operator, according to Swift's current rules."
--
Greg Parker gparker at apple.com Runtime Wrangler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151217/3abfabb8/attachment.html>
More information about the swift-evolution
mailing list