Orace
Orace
This PR continues #639 since I erroneously deleted it's branch.
This is a proposal to unify lookalike methods. An example of use with `Zip` is : ```C# source1.Zip(source2) // ValueType creation overload .PadSource1With(foo) // zip parametrisation .PadSource2With(bar) // zip parametrisation...
I propose for: ```C# (bool? isHomogeneous, T value) IsHomogeneous(this IEnumerable source, IEqualitityComparer comparer = null); ``` `DefaultEqualitityComparer` is used if `comparer` is null. The return tuple contains: - `isHomogeneous`: -...
This PR addresses #645
The 0-Subsets of a sequence should be a one item sequence, and this item should be an empty list. Indeed there is always one subset of length 0 : the...
I propose a `Dispatch` method that build up many `IEnumerable` from one `IEnumerable` ```C# IReadonlyList Dispatch(this IEnumerable source, int portCount, Func portSelector); ``` For each element, the `portSelector` is evaluated...
Added: - TestInterleaveEarlyThrowOnNullElementInOtherSequences - TestInterleaveDisposesAllIteratorsOnPartialEnumeration
This PR add `TestSortedMergeDoNotCallMoveNextEagerly`. Unlike for `Interleave` (#694), this test pass.
`Transpose`, `Interleave` and `SortedMerge` are three methods that have to deals with enumeration of a collection of `IEnumerable`. In this three methods, implementation have to ensure that all enumerators from...