Hacker News new | ask | show | jobs
by garethjrowlands 2141 days 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.

1 comments

You might be able to do some type trickery with heterogeneous lists? But I don't think it would be worth it.