Skip to content

Instantly share code, notes, and snippets.

@yoshikischmitz
Created October 5, 2014 18:40
Show Gist options
  • Save yoshikischmitz/04d2db23a0d6437296c9 to your computer and use it in GitHub Desktop.
Save yoshikischmitz/04d2db23a0d6437296c9 to your computer and use it in GitHub Desktop.
Clojure string equality
user=>
(map (fn [x]
(println x '= (clojure.string/capitalize x)
(= x (clojure.string/capitalize x)))
) "EeeeFFfE")
(E = E false
e = E false
nil e = E false
nil e = E false
nil F = F false
nil F = F false
nil f = F false
nil E = E false
nil nil)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment