Fsharp: Function's Type
xtodoactually you cannot show function's type at runtime.
let fadd x = x + 1 printfn "%i" (fadd 3) // 4 printfn "%O" ((fadd).GetType()) // FSI_0001+it@5
you can show it in the interactive command line the dotnet fsi, by just typing the function's name.
e.g.
let add x y = x + y;; add;;
FSI will immediately show something like:
val add : x:int -> y:int -> int