title: How to map strings to URIs?
body: <p>Let me say that I have a single string concatenated uris.</p>
  
  <pre><code>http://...[sp]http://...[sp]http://...
  </code></pre>
  
  <p>I'm trying to convert each split string to URIs.</p>
  
  <pre class="lang-java prettyprint-override"><code>Stream.of(string.split("\\s")).map(uri -&gt; URI::new);
  </code></pre>
  
  <p>Compiler complains.</p>
  
  <pre><code>Cannot infer type-variable(s) R
  </code></pre>
  
  <p>What did I do wrong?</p>