Skip to content

empty_qmark,get-in,find,contains_qmark#89

Merged
jeaye merged 2 commits into
jank-lang:mainfrom
rafonsecad:empty_qmark,get-in,find,contains_qmark
Jul 1, 2025
Merged

empty_qmark,get-in,find,contains_qmark#89
jeaye merged 2 commits into
jank-lang:mainfrom
rafonsecad:empty_qmark,get-in,find,contains_qmark

Conversation

@rafonsecad
Copy link
Copy Markdown
Contributor

No description provided.

(is (= true (contains? "abc" 0)))
(is (= true (contains? "abc" 2)))
(is (= false (contains? "abc" 3)))
#?(:cljs (is (= false (contains? "abc" "a"))))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why only cljs?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think I forgot to add a clj test for this case

@rafonsecad
Copy link
Copy Markdown
Contributor Author

@NoahTheDuke please check again, I added a clj test

Copy link
Copy Markdown
Member

@jeaye jeaye left a comment

Choose a reason for hiding this comment

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

Nice work!

@jeaye jeaye merged commit 004c181 into jank-lang:main Jul 1, 2025
2 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.

3 participants