1
考虑代码示例:如何检索F#中的函数名称?
let foo x = x
let bar f =
printf "function name is %s" (*?*)
bar foo //should print: "function name is foo"
非常感谢!
考虑代码示例:如何检索F#中的函数名称?
let foo x = x
let bar f =
printf "function name is %s" (*?*)
bar foo //should print: "function name is foo"
非常感谢!
你不能,对不起。 (取决于你想要做的事情,有可能是一个制约因素在这里你可以削弱和完成一项工作。)