title: How to pick a random list element in a pure function?
body: <p>I want to make a Haskell function that can pick out a random number from a given list. 
  My type signature is:</p>
  
  <pre><code>randomPick :: [a] -&gt; a 
  </code></pre>
  
  <p>What should I do?</p>