type person = {Name: string; Age: int} with // 定义个人记录 member this.print() = printfn "%s, %i"this.Namethis.Age let user = {Name = "John Doe"; Age = 27} // 创建一个新人 user.print() // 约翰·多伊(27岁)