|
|
|
|
|
by CatMtKing
4376 days ago
|
|
It's a toy example; he's just trying to show how currying works, rather than why you should use it. If anything, it does show that one useful thing about partial application is that you can write a generic function (formatNames) and then make it more specific (formatNames("John")) without repeating yourself. |
|