public static void FsLib() { ListModule.MinBy(FSharpFunc <int, int> .FromConverter(x => x * 2), ListModule.OfArray(Array.Empty <int>())); }
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));