Skip to main content
Module

x/fun/mod.ts>async_either.fromEither

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

Lifts an Either<B,A> into a AsyncEither<B,A>

Parameters

ta: Either<B, A>