4 ms·
Not really. In the example, function composition, `.`, joins the functions together. You can smash a list of functions together but they'd all have to take and
by garethjrowlands 6y ago
Not really. In the example, function composition, `.`, joins the functions together.
You can smash a list of functions together but they'd all have to take and return the same type, and the list would introduce commas and square brackets, so it wouldn't look quite the same.
- eru 6y agoYou might be able to do some type trickery with heterogeneous lists? But I don't think it would be worth it.