&
as a conformance conjunction
#1618
Replies: 1 comment 2 replies
-
I disagree, for a couple of reasons. There is precedent in several languages for using The dual of an intersection type is a union type and I think we should indeed consider using There are other instances of "operators" having different semantics if applied on types or terms. For example,
Finally note that we can't replace all occurrences of
We'd need a verbose where clause or parentheses, the latter I find more confusing, subjectively of course:
|
Beta Was this translation helpful? Give feedback.
-
I've always had problems with the use of that symbol to say
Equatable & Comparable
in Swift and I wonder if we should be following that precedent. I remember Doug resisting that symbol for C++ years ago so I was surprised when it ended up in Swift.Problems:
|
I /think/ we could just replace it with comma without ambiguity.
Beta Was this translation helpful? Give feedback.
All reactions