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

x/fun/either.ts

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

This file contains the Either algebraic data type. Either is used to represent two exclusive types. Generally, Either is used to represent either a successful computation or a failed computation, with the result of the failed computation being kept in Left.