You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: currying/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -169,7 +169,7 @@ Pros
169
169
* Currying allows for partial application, which can be used to create specialised functions concisely.
170
170
171
171
Cons
172
-
* The order of the parameters in a curried function is important since we want to take advantage of partial application. It is best to input the most general parameters first and input specific parameters lasts.
172
+
* The order of the parameters in a curried function is important since we want to take advantage of partial application. It is best to input the most general parameters first and input specific parameters last.
173
173
* As shown in the programmatic example above, curried functions with several parameters have a cumbersome type signature (in Java).
0 commit comments