标签: f#
是否可以定义包含“类型”字段的记录?例如:
type ProjectType= | ObjectDetection | Classification type Domain = { name:string; type: ProjectType; // How can I achieve this ? enabled:bool; }