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岁)
友情链接: json在线解析 通晓查询 糯晒黄历 姓名打分