[MLton-user] Unsafe mode? Incantation to disablle array bounds checks.

Matthew Fluet fluet at tti-c.org
Tue Oct 30 19:05:04 PST 2007


On Tue, 30 Oct 2007, Ryan Newton wrote:
> Apologies if this is posted somewhere on the mailing-list/website.  My 
> googling is not succeeding.
>
> What option(s) do I feed to the compiler to turn off array bounds checks?

-const 'MLton.safe false'

And, to anticipate the next question:

-const 'MLton.detectOverflow false'

to disable overflow checking.




More information about the MLton-user mailing list