Merge pull request #50 from marshallshen/master

add one more problem in function exercise
This commit is contained in:
Colin Jones 2013-07-22 10:19:43 -07:00
commit 6adbead02c
2 changed files with 5 additions and 1 deletions

View File

@ -61,7 +61,8 @@
20
10
60
15]
15
30]
"___" [+
*
(fn [f] (f 5))

View File

@ -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))