question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Since 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:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
1st1commented, Jun 30, 2017

I think that EMPTY FIRST is way more readable.

0reactions
vpetrovykhcommented, Jul 12, 2017

Looks like EMPTY FIRST and EMPTY LAST stay as they are.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found