add one more problem in function exercise
This commit is contained in:
parent
5e342c81bc
commit
6fb62d5c79
@ -19,6 +19,9 @@
|
|||||||
"Even anonymous functions may take multiple arguments"
|
"Even anonymous functions may take multiple arguments"
|
||||||
(= __ (#(+ %1 %2 %3) 4 5 6))
|
(= __ (#(+ %1 %2 %3) 4 5 6))
|
||||||
|
|
||||||
|
"Arguments can also be skipped"
|
||||||
|
(= __ (#(* 15 %2) 1 2))
|
||||||
|
|
||||||
"One function can beget another"
|
"One function can beget another"
|
||||||
(= 9 (((fn [] ___)) 4 5))
|
(= 9 (((fn [] ___)) 4 5))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user