I am unable to reproduce this problem ('null' behavior you describe); it works as I expect.

Note that, whereas 'int' is an overloaded (inline) function, I expect the library call will 'monomorphize' it and give it the signature (int -> int). You'll be better off using

1
let inline foo x = int x

to get a function with the same overloaded signature.

By on 11/23/2008 10:35 PM ()

Brian

I'll see if I can repro with a small test case.

Bill

I am unable to reproduce this problem ('null' behavior you describe); it works as I expect.

Note that, whereas 'int' is an overloaded (inline) function, I expect the library call will 'monomorphize' it and give it the signature (int -> int). You'll be better off using

1
let inline foo x = int x

to get a function with the same overloaded signature.

By on 11/24/2008 8:04 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