public SetInternal <OrdA, A> AddOrUpdate(A value) => new SetInternal <OrdA, A>(SetModule.AddOrUpdate <OrdA, A>(set, value));
/// <summary> /// Add an item to the set. If an item already /// exists then replace it. /// </summary> /// <param name="value">Value to add to the set</param> /// <returns>New set with the item maybe added</returns> public Set <T> AddOrUpdate(T value) => new Set <T>(SetModule.AddOrUpdate(set, value, Comparer <T> .Default));