import * as fun from "https://raw.githubusercontent.com/baetheus/fun/main/sync_either.ts";
This file contains the SyncEither algebraic data type. SyncEither is an lazy function that takes no inputs and returns an Either. The intuition of a SyncEither is an IO call that can fail.
ApplicableSyncEither | |
BimappableSyncEither | |
bind | |
bindTo | |
FailableSyncEither | |
FlatmappableSyncEither | |
FoldableSyncEither | |
MappableSyncEither | |
tap | |
WrappableSyncEither |
alt | |
apply | |
fail | |
flatmap | |
fold | |
fromEither | |
fromSync | |
getCombinableSyncEither | |
getFlatmappableSyncRight | |
getInitializableSyncEither | |
left | |
map | |
mapSecond | |
recover | |
right | |
tryCatch | |
wrap |
KindSyncEither | |
KindSyncRight |
SyncEither |