Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fae/transduce.ts

A functional module for Deno inspired from Ramda.
Latest
import * as fae from "https://deno.land/x/fae@v1.1.1/transduce.ts";

Functions

Initializes a transducer using supplied iterator function transformer2. Returns a single item by iterating through the list, successively calling the transformed transformer2 and passing it acc and the current value from the array, and then passing through transformer1 and then passing the result to the next call.