Skip to content

= for collections does not respect equality partitions #556

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

Closed
chrisrink10 opened this issue Jun 9, 2020 · 0 comments · Fixed by #558
Closed

= for collections does not respect equality partitions #556

chrisrink10 opened this issue Jun 9, 2020 · 0 comments · Fixed by #558
Labels
issue-type:bug Something isn't working lang Issue pertaining to Basilisp language modules

Comments

@chrisrink10
Copy link
Member

In Clojure, the = function uses what is called "equality partitions" to determine equality between the different builtin collection types. The three partitions are "sequential types" (vectors, lists, seqs), sets, and maps. Elements inside each of these partitions can be considered for equality, but outside of it they are always considered not equal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue-type:bug Something isn't working lang Issue pertaining to Basilisp language modules
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant