rescript-compiler icon indicating copy to clipboard operation
rescript-compiler copied to clipboard

data-first `Js.Option`? (and `Js.Re`)

Open somebody1234 opened this issue 4 years ago • 1 comments

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

somebody1234 avatar Sep 19 '21 15:09 somebody1234

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

TheSpyder avatar Sep 23 '21 02:09 TheSpyder