Consider the code sample:
let foo x = x
let bar f =
printf "function name is %s" (*?*)
bar foo //should print: "function name is foo"
Thanks a lot !
You can't, sorry. (Depending on exactly what you want to do, there may be a constraint here you can weaken and get a job done.)
Possibly see also Getting the name of the parameter passed into a method