Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Should QQ[x, y, ...] syntax be removed? #14414
That's a syntactic sugar for
For more fun,
added a commit
Mar 7, 2018
It's a convenient syntax. If
Does it make sense to index such sets? Sure, sometimes. For example, ZZ is countable - so we could implement
It might look familiar to mathematicians, but totally misleading from the language point of view. No reason to offer a sequence interface if it doesn't make sense for the object (or, worse, if it does make sense, but totally different).
I believe, it should matter if existing API is inconsistent and/or misleading.
Anyway, thank you for explanation. Fell free to close issue if it does make sense for you.