This code, amazingly, works:
let doStuff = (a: int, b: int) : int => a * a + b;
let partialStuff = doStuff(_, 4);
Js.log(doStuff(3, 4));
Js.log(partialStuff(3));
This seems to indicate that you can use _
to specify where the missing parameter goes when “filling in” a partial application. Is this by design, or is this just an accidental misfeature that could go away in a future release of ReasonML? (I suspect this has something to do with all functions being curried, but what do I know?)