Diegovsky<p>I don't really understand why use <a href="https://fosstodon.org/tags/rescript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rescript</span></a>: some features like ADTs, pipes, records and a sane type system are fantastic! However I'm really offput by float operators and the need to constantly refer to the Class for methods:</p><p>Rescript:<br>```<br>let result = [1, 2, 3]<br> ->Array.map(a => a + 1)<br> ->Array.filter(a => mod(a, 2) == 0)<br>```</p><p>Js:<br>```<br>let result = [1, 2, 3]<br> .map(a => a + 1)<br> .filter(a => mod(a, 2) == 0)</p><p>```</p><p>Yeah you can be a functional purist but this code is just wordier for no reason</p>