Skip to content

Conversation

@dgr
Copy link
Contributor

@dgr dgr commented Dec 6, 2025

Closes #120

(is (thrown? Exception (<= 1 nil)))
(is (thrown? Exception (<= nil 1 2)))
(is (thrown? Exception (<= 1 2 nil)))
(is (= true (<= "1" "2")))
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a surprise

Copy link
Collaborator

Choose a reason for hiding this comment

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

@dmiller this behavior is surprising given it's both different from C# and Clojure

@dmiller
Copy link
Contributor

dmiller commented Dec 6, 2025 via email

@dmiller
Copy link
Contributor

dmiller commented Dec 8, 2025 via email

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.

clojure.core/<=

3 participants