One or more functions can be composed if there argument type and return type pairs are matched.
Furthermore, we can imagine zero function composition (id), which is the identity of function composition.
These functions (compose and id) are useful in FP, but @typed-f currently does not have one.
Description
One or more functions can be composed if there argument type and return type pairs are matched. Furthermore, we can imagine zero function composition (
id
), which is the identity of function composition. These functions (compose
andid
) are useful in FP, but @typed-f currently does not have one.