Closed gustavoguichard closed 2 months ago
This is a work in progress for a POC. The idea is to be able to accept any function in combinators, so we simplify their usage:
const add = (a: number, b: number) => a + b // from: const fn = collect({ add: composable(add), toString: map(composable(add), String) }) // to: const fn = collect({ add, toString: map(add, String) })
TODO:
Interesting idea.
Closing it in favor of #155
This is a work in progress for a POC. The idea is to be able to accept any function in combinators, so we simplify their usage:
TODO: