title: How to do Pattern Matching in Common Lisp
body: <p>I have no idea if there exists a pattern matching function for Common Lisp, nevertheless I have to make my own function. I have no idea about Lisp. Can somebody give heads-up on learning Lisp and most importantly, how to go about doing pattern matching in Lisp. I will have to pass a pattern and a fact and say if they match.
  An example would be</p>
  
  <pre><code>(heroes (hitpoints=hp) (mana=m)) 
  </code></pre>
  
  <p>should match</p>
  
  <pre><code>(Morphling (hitpoints 435) (mana 260))
  </code></pre>
  
  <p>it should also be able to also do numeric comparisons of if a number is greater or lesser. Like if another heroes mana is less that Morphling.</p>