title: Lisp equals not working as expected
body: <p>I am slowly getting more comfortable with this language. But I am having an issue... I am working on a function that converts a temperature to either celcius or F. I am passing in a list as such (50 C) and then handling each case seperate. For some reason, when I do (equalp "C" (cadr lst)) I am getting NIL.I printed out the cadr of the list and it is C. Any Ideas?</p>
  
  <pre class="lang-lisp prettyprint-override"><code>(defun convert-to-c(num)
      (* (- num 32) 5/9)
  )
  
  (defun convert-to-f(num)
      (+ (* num 9/5) 32)
  )
  
  (defun convert-temp (lst)
      (cond ((equalp "C" (cadr lst)) (convert-to-f (car lst)))
      (t (convert-to-c (car lst))))
  )
  </code></pre>
  
  <p>The call I am making    </p>
  
  <pre><code>(convert-temp '(30 C))
  </code></pre>