public X combine(Seq <X> elements) => Seq.foldl(combine, elements);
/// <summary> /// Implements a left-fold over the container /// </summary> /// <typeparam name="Y">The type of the accumulated value</typeparam> /// <param name="f">The accumulator</param> /// <param name="y0">The seed value</param> /// <param name="container"></param> /// <returns></returns> public Y foldl <Y>(Func <Y, X, Y> f, Y y0, CX container) => Seq.foldl(f, y0, Seq.make(container.Stream()));
public Y foldl <Y>(Func <Y, X, Y> f, Y y0, Seq <X> s) => Seq.foldl(f, y0, s);