title: how to change the value of an element in a list in Io language?
body: <p>I was wondering how can I change the value of an element in a list in Io language?</p>
  
  <pre><code>l := list(4, 6, 3, 8, 10)
  list(4, 6, 3, 8, 10)
  </code></pre>
  
  <p>I want to change it to:</p>
  
  <pre><code>list(4, 5, 3, 8, 10)
  </code></pre>
  
  <p>One way is to use <code>insertAt()</code> and <code>removeAt()</code>, But I want to know whether there is another way or not.</p>
  
  <pre><code>l removeAt(1)
  l insertAt(5, 1)
  </code></pre>
  
  <p>Any idea?</p>