3
type IFooable =
abstract Foo : int -> int
type IFooable2 =
abstract Foo : a : int -> int
type MyClass() =
interface IFooable2 with
member this.Foo(b) = 7
IFooable和IFooable2有什么区别?它们是否相同? 在我的例子中,它的目的是什么?何时使用它?这两种语法之间的区别