issues
search
melange-re
/
melange
A mixture of tooling combined to produce JavaScript from OCaml & Reason
https://melange.re
Other
846
stars
52
forks
source link
native int
#1150
Open
anmonteiro
opened
4 months ago
anmonteiro
commented
4 months ago
I think it makes sense to enable
nativeint
and add a Nativeint module to maximize OCaml compatibility
nativeint
is a "platform integer" and ints in JS are signed 32 bit, so I think it makes sense to treat nativeints as int32
this is mostly just a shim at this point and we can add proper compatibility and operations in future work
nativeint
and add a Nativeint module to maximize OCaml compatibilitynativeint
is a "platform integer" and ints in JS are signed 32 bit, so I think it makes sense to treat nativeints as int32