import * as mod from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/sync.ts";This file contains the Sync algebraic data type. Sync is an lazy function that takes no inputs. In other functional languages and runtimes sync is referred to as IO.
| ApplicableSync | |
| bind | |
| bindTo | |
| FlatmappableSync | |
| FoldableSync | |
| MappableSync | |
| tap | |
| TraversableSync | |
| WrappableSync |
| apply | Apply a function wrapped in a Sync to a value wrapped in a Sync. |
| flatmap | Chain Sync computations together. |
| fold | Fold over a Sync computation to produce a single value. |
| getCombinableSync | Create a Combinable instance for Sync given a Combinable for the inner type. |
| getInitializableSync | Create an Initializable instance for Sync given an Initializable for the inner type. |
| map | Apply a function to the result of a Sync computation. |
| traverse | Traverse over a Sync using the supplied Applicable. |
| wrap | Wrap a value in a Sync computation. |