[MLton] Int Overflow detection

Stephen Weeks MLton@mlton.org
Wed, 16 Mar 2005 14:14:26 -0800

> Is there a way to turn integer (int) overflow detection off?

You can compile with the (undocumented) constant setting

	-const 'MLton.detectOverflow false'

Look for definition of "detectOverflow" in
basis-library/misc/primitive.sml and its other uses in the basis
library sources if you're interested to see how this works.