public Option <A> Find(A value) =>
 SetModule.TryFind <OrdA, A>(set, value);
Beispiel #2
0
 /// <summary>
 /// Attempts to find an item in the set.
 /// </summary>
 /// <param name="value">Value to find</param>
 /// <returns>Some(T) if found, None otherwise</returns>
 public Option <T> Find(T value) =>
 SetModule.TryFind(set, value, Comparer <T> .Default);