fastfunc

calling F# functions from C# and getting null reference exceptions

I'm using Visual Studio 2008 with the October 2009 F# CTP installed. I'm trying to call some F# code from my C# program. Most types of F# functions seem to work, but some are not getting initialized in F# and are throwing NullReferenceExceptions. The ones doing this are closures and partially applied functions, i.e. things that appear...

Converting a System.Func<> to a FastFunc<> in F#

Hello! When interacting with F# libraries from IronPython it seems that Python function object are not automatically converted to the standard F# FastFunc function object when passed to a F# interface accepting a function as one of the parameters. On the other hand, the Python function objects are nicely converted to System.Func<> if t...