title: How to make a Clojure function take a variable number of parameters?
body: <p>I'm learning Clojure and I'm trying to define a function that take a variable number of parameters (a <em>variadic</em> function) and sum them up (yep, just like the + procedure). However, I don´t know how to implement such function </p>
  
  <p>Everything I can do is:</p>
  
  <p><code>(defn sum [n1, n2] (+ n1 n2))</code></p>
  
  <p>Of course this function takes two parameteres and two parameters only. Please teach me how to make it accept (and process) an undefined number of parameters.</p>