小编ssp*_*ssp的帖子

类型定义中的"可变"

为什么禁用类型喜欢

type t = A of int | B of string * mutable int
Run Code Online (Sandbox Code Playgroud)

虽然允许这样的类型:

type t = A of int | B of string * int ref
Run Code Online (Sandbox Code Playgroud)

f#

4
推荐指数
2
解决办法
1074
查看次数

标签 统计

f# ×1