title: Wrong arity of simple function in clojure
body: <p>I've started to learn clojure. In my book there is following exercise:</p>
  
  <blockquote>
    <p>Write a function, mapset, that works like map except the return value is a set:</p>
  </blockquote>
  
  <pre><code>(mapset inc [1 1 2 2])
  ; =&gt; #{2 3}
  </code></pre>
  
  <p>I've started with something like this:</p>
  
  <pre><code>(defn mapset
    [vect]
    (set vect))
  </code></pre>
  
  <p>The result is error </p>
  
  <blockquote>
    <p>"Wrong number of args (2) passed to: core/mapset"</p>
  </blockquote>
  
  <p>I tried <code>[&amp; args]</code> as well. </p>
  
  <p>So, the question is: how can I solve such problem?</p>