title: Clojure - How to put a list and a function inside a defn function
body: <p>I am a newbie and making some exercises. How can I put a <code>def</code> with a list of sentences and a randomizer function inside a <code>defn</code> function? How does that work? </p>
  
  <p><code>(def list["test1", "test2", "test3"])</code> - works fine
  <code>(rand-nth list)</code> - works fine</p>
  
  <p>How do I put it inside a function <code>defn</code>? </p>
  
  <p>Thanks for help.</p>