title: Kotlin Editing List
body: <p>What is the best way to edit an immutable <code>List</code> in Kotlin?</p>
  
  <p>I understand that <code>List</code> is not actually immutable, but if I'm passing a <code>List</code> into into a function and I need that entire list minus a single element, is there a supported way to handle that? What about if I want that entire list with an additional element?</p>