OCaml

OCaml

2014,07,10

A record is a collection of labels and types. These labels must be unique within the current module so the type inference engine can infer types correctly.

via: Joshua B. Smith. 2006. Practical OCaml. New York: Apress, pp. 28

(CHAPTER 3 SYNTAX AND SEMANTICS -> Defining Records)

好吧,看到这里就没想再继续学习 OCaml 了啊。。。

Comments

Comment is disabled by administrator.