import * as fun from "https://raw.githubusercontent.com/baetheus/fun/main/these.ts";
This file contains the These algebraic data type. These is a sort of combination of Either and Pair. It can represent a complete failure or a partial failure.
both | |
fail | |
fold | |
getCombinableThese | |
getFlatmappableRight | |
getInitializableThese | |
getShowableThese | |
isBoth | |
isLeft | |
isRight | |
left | |
map | |
mapSecond | |
match | |
right | |
traverse | |
wrap |
KindRightThese | |
KindThese |