title: Return multiple values in compactMap return
body: <p>Is it somehow possible to add multiple values in an compactMap return? </p>
  
  <p>This is what i tried. It won't work because the return expects a String.</p>
  
  <pre><code>var array: [String] = ["This","is","just","an","example"]
  
  var newArray: [String] = array.compactMap({ return [$0, "foo"] })
  
  print(newArray)
  </code></pre>
  
  <p>I want an output array like: ["This","foo","is","foo","just","foo","an","foo","example","foo"]</p>
  
  <p>But i dont want a solution for that specific example. I'm asking if it is possible to return multiple values in an compactMap and manipulate the count of it within the compactMap</p>