rescript-compiler
rescript-compiler copied to clipboard
data-first `Js.Option`? (and `Js.Re`)
Js.Array has Js.Array2 but Js.Option has no such counterpart, is this intentional?
even weirder, Js.Re has foo_ for data-first methods rather than them being in Js.Re2
Instead of Js.Option try Belt.Option.
As for the other parts of Js.*, there's a community effort that might suit: https://github.com/bloodyowl/rescript-js