public static void FsLib()
 {
     ListModule.MinBy(FSharpFunc <int, int> .FromConverter(x => x * 2), ListModule.OfArray(Array.Empty <int>()));
 }
Esempio n. 2
0
 public static T MinBy <T, TR>(this IEnumerable <T> ts, Func <T, TR> func)
 => ListModule.MinBy(FSharpFunc <T, TR> .FromConverter(t => func(t)), WeakCache <T> .GetList(ts));