これらの関数のシグネチャが異なるのはなぜですか?
この機能:
type a () =
member this.ThirdElementOfTupleFromListToSequence = function
| (q, w, ids) -> (q,w, (List.toSeq ids))
この署名があります:(obj * obj * obj list -> obj * obj * seq<obj>)
を使用して同じ関数を割り当てると、次のようになりますlet
。
let ThirdElementOfTupleFromListToSequence = function
| (q, w, ids) -> (q,w, (List.toSeq ids))
次の署名があります。('a* 'b * 'c list -> 'a * 'b * seq<'c>)
どちらの機能もどこにも使用されていません。