public static Cons Reductions(IApply reducer, IEnumerable seq, params object[] args) { var kwargs = ParseKwargs(args, new string[] { "initial-value", "key" }, MissingValue, null); var seed = kwargs[0]; var key = GetClosure(kwargs[1]); return(AsLazyList(SeqBase.Reductions(reducer, seq, seed, key))); }
public static Cons Reductions(IApply reducer, object seed, IEnumerable seq) { return(AsLazyList(SeqBase.Reductions(reducer, seed, seq))); }