This library provide one module Optint which internally uses an int if you are in a x64 architecture or an int32 (boxed value) if you are in a x86 architecture. Homepage: https://github.com/mirage/optint