F# type constraint for record type with specific property

前端 未结 3 1425
失恋的感觉
失恋的感觉 2021-01-17 22:01

I\'m trying to create a generic function which requires of its type argument that it is a record type, and that it has a specific property. Here\'s a sample that generates t

3条回答
提交回复
热议问题