News for hackers. Stuff that matters.
Re:A generically typed pipe function in TypeScript by harg on Monday August 08, 2022 @04:51AM (#32383508)
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

There are no comments on this comment yet.