public static class Seq
public static IEnumerable<TOut> accumulateCollect<TIn, TOut>(Tuple<FSharpFunc<TIn, bool>, FSharpFunc<TIn, IEnumerable<TOut>>> rules, IEnumerable<TIn> source)
Finds elements in the input sequence to accumulate them in arrays, applies the respective transform functions to populated arrays, and concatenates the results.
public static IEnumerable<T> chunkByWeight<T>(int chunkWeight, FSharpFunc<T, int> weigh, IEnumerable<T> source)
Divides the input sequence into chunks of as many elements as possible their total weight not exceeding chunkWeight but not less than one element per batch.
Creates a function to fetch elements from the input sequence.
Views the given Composite as a sequence.
public static IEnumerable<MarkValuePair<TMark, TPayload>> ofMComp<TMark, TPayload>(Composite<TMark, TPayload> source)
Views the given marked composite as a sequence of mark value pairs.
Divides the input sequence into multiple non-intersecting sequences.