Skip to main content
Module

x/fun/async_iterable.ts>flatmap

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Latest
function flatmap
import { flatmap } from "https://deno.land/x/fun@v2.0.0/async_iterable.ts";

Parameters

fati: (a: A) => AsyncIterable<I>

Returns

(ta: AsyncIterable<A>) => AsyncIterable<I>