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

feat(stdlib): Add == operator to Queue module #1931

Merged
merged 3 commits into from
Jan 2, 2024

Conversation

spotandjake
Copy link
Member

This pr adds Queue.equal which provides a more useful equality check that cares about the queue contents rather than internal structure.

@ospencer
Copy link
Member

I agree with @alex-snezhko that we should name it (==).

@spotandjake spotandjake changed the title feat(stdlib): add Queue.equal feat(stdlib): add Queue.(==) Dec 12, 2023
@spotandjake
Copy link
Member Author

I agree with @alex-snezhko that we should name it (==).

Made that change

@phated phated changed the title feat(stdlib): add Queue.(==) feat(stdlib): Add == operator to Queue module Dec 29, 2023
@spotandjake
Copy link
Member Author

Applied that suggestion

@phated
Copy link
Member

phated commented Dec 31, 2023

@spotandjake please resolve the conflicts 🙏

@phated phated enabled auto-merge December 31, 2023 22:50
@phated phated added this pull request to the merge queue Dec 31, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Dec 31, 2023
@phated
Copy link
Member

phated commented Jan 1, 2024

@spotandjake it looks like this conflicts again. Can you update?

@spotandjake spotandjake force-pushed the spotandjake-queue-eq branch from 4bb62ab to 8b964ea Compare January 1, 2024 22:29
@spotandjake
Copy link
Member Author

Updated

@phated phated enabled auto-merge January 1, 2024 22:32
@phated phated added this pull request to the merge queue Jan 1, 2024
Merged via the queue into grain-lang:main with commit 3c0ea18 Jan 2, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants