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

x/fun/mod.ts>sync_either.apply

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

Returns

<J, I>(ufai: SyncEither<J, (a: A) => I>) => SyncEither<B | J, I>