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

x/fun/mod.ts>either.recover

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

Parameters

fbui: (b: B) => Either<J, I>

Returns

<A>(ua: Either<B, A>) => Either<J, A | I>