Is there an unambiguous name for the primitive int type?


#1

Assume the type int is shadowed by a user-defined type (e.g., type int = T). Is there a way to refer to the built-in int type?

For many primitive types, there is a module in the standard library with a type t. For instance I can use Float.t when the name float is shadowed. I cannot find such a module for the int type.


#2

Hopefully there will be one in 4.08: https://github.com/ocaml/ocaml/pull/2011