Rescript does not support async await. You may have to use ppx to achieve that in Rescript. But what if we can do it with out using any ppx at all.
Lets try to understand list in rescript better by creating our own list
Things get interesting when you want to filter an array of values, with a function returning promise of boolean instead of just a boolean
Create scan function in typescript/javascript in just one line using lodash