Add set literals
See original GitHub issueSince we now can use {}
for denoting sets, let’s add this.
Without set literals it’s hard to even write edgedb documentation: we’ll have to explain the meaning of 1 UNION 2
or teach what array_unpack()
does way too early.
@vpetrovykh Could you please open a PR to add set literals to the grammar/parser?
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Python's Set Literals - Renzo Lucioni
To create your set, f() needs to load the global named set , push three constants onto the stack, build a list consuming...
Read more >How to set literals after Dart 2.2 - Stack Overflow
In C language, I can define a structure effectively but I don't know how to do that in dart. typedef struct { char...
Read more >Python - Set Literal Values - Linuxtopia
There are no literal values for set s. A set value is created by using the set or frozenset factory functions. These can...
Read more >Set literals in Python 3.X and 2.7 - Java2s.com
Sets are like valueless dictionaries, the items in set behave much like a dictionary's keys. Here's what sets look like in 3.X; it's...
Read more >Python sets, frozensets, and literals - LWN.net
A Python "frozenset" is simply a set object that is immutable—the objects it contains are determined at initialization time and cannot be changed...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that EMPTY FIRST is way more readable.
Looks like
EMPTY FIRST
andEMPTY LAST
stay as they are.