Pages

Saturday, August 20, 2011

F# format for Other .NET invoke

Sometimes I need to define a library let other .NET library and recognize or invoke. It must be like C# format:

namespace AAA
{
     class BB
     {
           some functions here.
     }
}

It took me one day to figure the equivalent format:

namespace AA

type BB () =
     some functions

module Program
     let b = BB()
   


No comments: