title: Unable to get println working in Grouped Integer Range map function
body: <p>I am experimenting with below code:</p>
  
  <pre><code>def TestRun(n: Int): Unit = {
        (1 to n)
          .grouped(4)
          .map(grp =&gt; { println("Group length is: " + grp.length)})
      }
  
  TestRun(100)
  </code></pre>
  
  <p>And I am a bit surprised that I am not able to see any output of <code>println</code> after executing the program. Code compiled successfully and ran, but without any expected output.</p>
  
  <p>Kindly point me what mistake I am doing.</p>