Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add set() for creating an empty set #2779

Merged
merged 2 commits into from
Jul 21, 2024
Merged

Conversation

advikkabra
Copy link
Collaborator

Currently this only supports an empty set, but should support all iterables in the future.

b.add('a')
b.remove('a')
b.add('b')
assert b.pop() == 3
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you forgot to call the function. :-).

@czgdp1807 czgdp1807 enabled auto-merge July 21, 2024 09:11
@czgdp1807 czgdp1807 merged commit c58d31c into lcompilers:main Jul 21, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants