I agree. This is what fp-ts's pipe[1] function does. It also has flow[2], which is basically a reversed compose.
[1]: https://gcanti.github.io/fp-ts/modules/function.ts.html#pipe
[2]: https://gcanti.github.io/fp-ts/modules/function.ts.html#flow
[1]: https://gcanti.github.io/fp-ts/modules/function.ts.html#pipe
[2]: https://gcanti.github.io/fp-ts/modules/function.ts.html#flow
No comments yet.