Make bind accept any function signature
`bind` is a great utility function for adapting non railway-oriented functions. However, it can only accept functions with a single input argument. There's the `partial` function, but that can cause code clutter if used often, and it doesn't solve the problem of a function that needs to accept multiple containers as input.
Typing will be hard, but I wonder if there's a workable solution.
0 条评论