Skip to main content
Module

x/ramda/source/mapAccum.js

:ram: Practical functional Javascript
Latest
import * as mod from "https://deno.land/x/ramda@v0.27.2/source/mapAccum.js";

Variables

The mapAccum function behaves like a combination of map and reduce; it applies a function to each element of a list, passing an accumulating parameter from left to right, and returning a final value of this accumulator together with the new list.