• nicolairathjen@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    1 年前

    A reducer “reduces” a list of values to one value with some function by applying it to 2 values at the time.

    For instance if you reduce the list [1, 2, 3] with the sum function you get (1 + (2 + 3)) = 6.