title: How do I sum all the items of a list of integers in Kotlin?
body: <p>I have a list of integers, like:</p>
  
  <pre><code>val myList = listOf(3,4,2)
  </code></pre>
  
  <p>Is there any quick way in Kotlin to sum all the values of the list? or do I have to use a loop?</p>
  
  <p>Thanks.</p>