I would like to update a MySQL table from an F# query. Basically I am now able to import a MySql table into a F# matrix.
What is the best way to implement Gather-Scatter like operation using WCF and C# (or F#)? Lets say that I have 20 nodes (computers) connected by WCF.
structures got default constructors like if I do type tagONEDEV_FlowRec = struct ....... end I can do new DeviceModel.tagONEDEV_FlowRec() but it doesn\'t work with this :
I want to write a function in F#, that exposes the following t开发者_C百科ype signature to C#: public static FSharpFunc<FSharpFunc<Unit,Unit>,Unit> foo(Action<Action> f)
I\'ve got a try catch (or with in F#) structures all over the code but I don\'t really need them in debug mode, it\'s easer for me to debug errors via VS debugger.
I\'m looking for something akin to the dict/list/set comprehensions in Python. In Python you can do: [x+2 for x in list if x > 10]
Or phrased another way, what kind of benefits do you get from having a basic, singly linked list with only a head pointer? The benefits of a tail pointer that I can see are:
Input two arrays of Vector x,y pair by x,y pair and find the function of the two x,y pairs output new array ...?
I do no开发者_如何学Ct find a way to compile a simple file (.fs) to a .exe. I tried this example and it does not work:
These two are equivalent: let f(x) = 10 let g = fun(x) -> 10 I think? They seem to do the same thing, but are there any cases where the behavior of 开发者_Go百科the two would vary? I find the s