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
As per hassleg "It's not clear to me what is being asked for in the HOF exercise. A reference is made to a function named add that doesn't exist; I assume this is a typo and that it should be referring to the function named add1. The bigger question is what is meant by the opposite value of that returned by add1? Minus 1?"
Copy file name to clipboardExpand all lines: functions/higher_order.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ triple(3); // => 9
90
90
91
91
---
92
92
93
-
Define a function named `negate` that takes `add1` as argument and returns a function, that returns the opposite of the value returned by `add`. (Things get a bit more complicated ;) )
93
+
Define a function named `negate` that takes `add1` as argument and returns a function, that returns the negation of the value returned by `add1`. (Things get a bit more complicated ;) )
0 commit comments