You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The old operators inherited from ocaml are less accessible and somehow hidden from user and the names are not descriptive IMO.
Should we have a lightweight Belt.Bitwise ?
That's also a good place. do you think it should be better to put them inside a submodule (Belt.Int.Bitwise) or alongside other functions in Belt.Int ?
Activity
bobzhang commentedon Jun 13, 2021
Bit wise operations mostly operate on int, shall we add it inside Belt.Int?
amiralies commentedon Jun 13, 2021
That's also a good place. do you think it should be better to put them inside a submodule (
Belt.Int.Bitwise) or alongside other functions inBelt.Int?bobzhang commentedon Jun 13, 2021
I would like to have a flat structure: it is good for future docs generation, nested submodules have perf cost
bobzhang commentedon Jun 15, 2021
Hi, adding bitwise operations into Belt.Int is welcome. We also welcome to move some float operations in Pervasives into Belt.Float