Void in constrast with Unit
问题 I would like to understand which is the difference between these two programming concepts. The first represents the absence of data type and at the latter the type exists but there is no information. Additionally, I recognize that Unit comes from functional programming theoretical foundation but I still cannot understand what is the usability of the unit primitive (e.g., in an F# program). 回答1: The unit type just makes everything more regular. To an extent you can think of every function in F