func SetForPiles(s []Pile) store.Set { assert.Require(len(s) != 0, "suabm: zero length slice argument") //for _, p := range s { //} set := store.EmptyTypedSet(Pile{}, uint(len(s))) for _, p := range s { set = set.Add(p) } assert.Require(uint(len(s)) == set.Count(), "suabm: mismatch between set count and length of input piles") panic("unfinished code path") return store.Set{} }
func EmptyHomogenizedPileSet() HomogenizedPileSet { return HomogenizedPileSet(store.EmptyTypedSet(Pile{}, 5)) }