What does the 'let {record} = object' syntax achive in F#?

前端 未结 0 722
情深已故
情深已故 2020-12-28 23:05

with the following example:

type Person = {First:string; Last:string}
let alice = {First="Alice"; Last="Doe"}
let {First=first} = alice


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题