【发布时间】:2009-08-23 23:42:45
【问题描述】:
考虑代码示例:
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"
非常感谢!
【问题讨论】:
标签: f#
你不能,对不起。 (具体取决于你想做什么,这里可能有一个限制,你可以削弱并完成工作。)
还可以看看 Getting the name of the parameter passed into a method
【讨论】: