Skip to main content
Module

x/ramda/source/promap.js>default

:ram: Practical functional Javascript
Latest
variable default
import { default } from "https://deno.land/x/ramda@v0.27.2/source/promap.js";

Takes two functions as pre- and post- processors respectively for a third function, i.e. promap(f, g, h)(x) === g(h(f(x))).

Dispatches to the promap method of the third argument, if present, according to the FantasyLand Profunctor spec.

Acts as a transducer if a transformer is given in profunctor position.