title: What is proper way of comparing strings in Clojure?
body: <p>I cannot figure out how to compare strings in Clojure. Given this basic function: </p>
  
  <pre><code>(defn login [username]
    (let [x (username)]
      (if (identical? x "John")
       "Welcome"
       "incorrect username")))
  </code></pre>
  
  <p>I keep getting this error message: java.lang.String cannot be cast to clojure.lang.IFn when I call the function. What is the best way of comparing strings in Clojure?</p>