Right
import type { Right } from "https://raw.githubusercontent.com/baetheus/fun/main/either.ts";
The Right type represents the right side of an Either, typically used to hold successful computation results.
@example
import * as E from "./either.ts";
const successResult = E.right(42);
// { tag: "Right", right: 42 }
type Right<R> = {
tag: "Right";
right: R;
};