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

Small fixes for ordered map equiv and equals methods #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 20, 2018

  1. Small fixes for ordered map equiv and equals methods

    There are test cases added that fail without these changes.  (=
    ordered-map some-record-with-same-keys) returns true without these
    changes, for example, whereas Clojure's built-in maps are never = to
    any record, by design, since records are distinct types.
    
    (.equals ordered-map something-else) currently uses = to compare
    corresponding values in the maps, but other Clojure persistent maps
    use .equals to compare corresponding values.
    jafingerhut committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    7763772 View commit details
    Browse the repository at this point in the history