Fsharp: Type

By Xah Lee. Date: . Last updated: .
xtodo

Show type

printfn "%O" ("abc".GetType())
// System.String

printfn "%O" ((3).GetType())
// System.Int32

printfn "%O" ((3.4).GetType())
// System.Double

Fsharp, type