[MLton] Int Overflow detection

Neophytos Michael nmichael@yahoo.com
Wed, 16 Mar 2005 14:41:41 -0800 (PST)


Thanks.  That works fine.

Neophytos

--- Stephen Weeks <sweeks@sweeks.com> wrote:
> 
> > 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.
> 
> _______________________________________________
> MLton mailing list
> MLton@mlton.org
> http://mlton.org/mailman/listinfo/mlton
> 


		
__________________________________ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail