Merge pull request #50 from marshallshen/master
add one more problem in function exercise
This commit is contained in:
		| @@ -61,7 +61,8 @@ | ||||
|                      20 | ||||
|                      10 | ||||
|                      60 | ||||
|                      15] | ||||
|                      15 | ||||
|                      30] | ||||
|                "___" [+ | ||||
|                       * | ||||
|                       (fn [f] (f 5)) | ||||
|   | ||||
| @@ -19,6 +19,9 @@ | ||||
|   "Even anonymous functions may take multiple arguments" | ||||
|   (= __ (#(+ %1 %2 %3) 4 5 6)) | ||||
|  | ||||
|   "Arguments can also be skipped" | ||||
|   (= __ (#(* 15 %2) 1 2)) | ||||
|  | ||||
|   "One function can beget another" | ||||
|   (= 9 (((fn [] ___)) 4 5)) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user