摘要: (* Exercise: mutable fields *) type student = { name : string; mutable gpa : float; } let stuA = {name = "Alice"; gpa = 3.7} let () = stuA.gpa <- 4.0 阅读全文
posted @ 2024-10-05 11:40 sysss 阅读(5) 评论(0) 推荐(0) 编辑