table.Count = 1 テーブル反復関数が複数のキーと値のペアを取得するのはなぜですか? これが機能である場合、どのように動作を期待できますか?
//
let table = new HashMultiMap<string, int> (HashIdentity.Structural)
table.Add("a", 1)
table.Add("a", 1)
table.Add("a", 1)
// now table.Count is one
let reduced = table.Fold (fun k v acc -> (k,v) :: acc) []
let acc = ref []
table.Iterate (fun k v -> acc.contents <- (k,v) :: acc.contents)
//
Reduced および acc.contents には 3 つの ("a",1) ペアが含まれます