Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
F# 有主格类型系统还是结构类型系统?
我知道 OCaml 是结构类型的,尽管 F# 似乎不是这样,这是正确的吗?
F# 是主格。你可以通过一些奇异的机制来做一些结构技巧,但是语言的类型系统主要是主格的。