Is there an unambiguous name for the primitive int type?

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.

Hopefully there will be one in 4.08:

1 Like