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 doc says u32 (resp. u64) is mapped to int32 (resp. u64). Is it not dangerous to allow this regarding overflow? Should it be mapped to a non native Caml value like done (though using an indirection) in ocaml-integers?
The text was updated successfully, but these errors were encountered:
Yeah, i think this is a situation where we've chosen to prioritize usability at the expense of some safety. In cases where you are concerned about overflow it makes sense to create a custom type that holds the Rust u64.
The doc says u32 (resp. u64) is mapped to int32 (resp. u64). Is it not dangerous to allow this regarding overflow? Should it be mapped to a non native Caml value like done (though using an indirection) in ocaml-integers?
The text was updated successfully, but these errors were encountered: