seasonedcc / composable-functions

Types and functions to make composition easy and safe
MIT License
649 stars 13 forks source link

Build a composable that always succeeds #153

Closed diogob closed 2 months ago

diogob commented 2 months ago

I have written this function more than a couple of times and a see some use cases in the wild but always brush it off thinking "why bother, it is so simple to reimplement".

The same argument can be used to bring it in though. It's very low complexity and it helps to keep the typing consistent.