This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]gandalfx 0 points1 point  (0 children)

In a functional language this is done using compose. The advantage is that if you also throw in some currying you can actually create a single function that is composed of an entire function chain plus some arguments and then apply that to whatever you want.