当我使用Winsock时,我使用该代码来发送和接收消息的长度:send(Connection, (char*)&msg_size, sizeof(int), NULL);int msg_size;同样,在youtube教程中,我也看到过类似于将对象写入文件的代码someObject;
// fin is object
我试图用两个参数调用Redux.createStore,下面的代码简化了签名,但是我无法让FSharp理解我想要的:module redux =let createStore: (System.Func<int,int> -> int) = jsNative
let store = redux.createStore 22//no ideawhat to do he