Hi,
you can switch to use 'checked' versions of the operators by opening a module that contains alternative implementations of the standard operators:

1
2
 
open Microsoft.FSharp.Core.Operators.Checked;;

The following code then throws an exception:

1
2
 
System.Int32.MaxValue + 1;;
By on 7/10/2007 7:03 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper