Function adjacentCombine$

  • Combine adjacent values of an array!

    Type Parameters

    • T

    Parameters

    • x: T[]

      an array (updated!)

    • fc: CombineFunction<T>

      combine function (u, v)

    • acc: T

      initial value

    Returns T[]

    x = [fc(acc, v₀), fc(v₀, v₁)...] | vᵢ ∈ x

Generated using TypeDoc