title: Grouping strings together in Vavr
body: <p>I'm trying this code below:</p>
  
  <pre><code>final Map&lt;Word, List&lt;Word&gt;&gt; tuple2s = lowercase
              .groupBy(identity());
  </code></pre>
  
  <p>but this creates groups of single strings, basically like doing a <code>#split</code>:</p>
  
  <pre><code>LinkedHashMap((lorem, List(lorem)), (ipsum, List(ipsum)), (lorem, List(lorem)), (lorem, List(lorem)), (ipsum, List(ipsum)), (dolor, List(dolor)), (sit, List(sit)), (dolor, List(dolor)), (sit, List(sit)), (dolor, List(dolor)), (elit, List(elit)))
  </code></pre>
  
  <p>How do I fix this? The expected value is</p>
  
  <pre><code>LinkedHashMap((lorem, List(lorem, lorem, lorem)), (ipsum, List(ipsum, ipsum)), (dolor, List(dolor, dolor, dolor)), (sit, List(sit, sit)), (elit, List(elit)))
  </code></pre>