Skip to content

Implement ITransientAssociative2 for OrderedMap - #97

Open
NoahTheDuke wants to merge 1 commit into
clj-commons:masterfrom
NoahTheDuke:nb/contains-and-find-in-transient-ordered-map
Open

Implement ITransientAssociative2 for OrderedMap#97
NoahTheDuke wants to merge 1 commit into
clj-commons:masterfrom
NoahTheDuke:nb/contains-and-find-in-transient-ordered-map

Conversation

@NoahTheDuke

Copy link
Copy Markdown
Contributor

ITransientAssociative2 was introduced in Clojure 1.8 and ordered requires 1.10, so we're good to go.

Also switches finding methods to use a private (Object.) for not-found, instead of relying on the strange and potentially buggy this behavior as noted in the comment.

Closes #69

@NoahTheDuke
NoahTheDuke force-pushed the nb/contains-and-find-in-transient-ordered-map branch from 6af9610 to 3e158b0 Compare September 4, 2026 15:22
@lread

lread commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

I'll not be so bold as to merge this one and wait for @danielcompton to review!

@NoahTheDuke, you do have a merge conflict to address (I think I'm done with PRs for the time being!).

@NoahTheDuke
NoahTheDuke force-pushed the nb/contains-and-find-in-transient-ordered-map branch from 3e158b0 to b5e40fd Compare September 4, 2026 16:35
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.

Associative methods don't work on transient ordered maps

2 participants