IC
Size: a a a
IC
P
P
IC
MN
MN
MN
MN
MN
L
MN
MN
L
MN
MN
IC
let inline count x =
(^a : (member Count : unit -> int) x)
И смог бы вызывать пихать в count любой тип.type CountMe() =
class
member this.Count() = 42
end
let cm = CountMe()
count cm |> Console.WriteLine // 42
IC
MN
IC
P