Simplify function call
This commit is contained in:
parent
ddf1d2439d
commit
170cc2cd0d
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
"Partial functions allow procrastination"
|
"Partial functions allow procrastination"
|
||||||
(= 20 (let [multiply-by-5 (partial * 5)]
|
(= 20 (let [multiply-by-5 (partial * 5)]
|
||||||
(reduce multiply-by-5 2 '(2))))
|
(multiply-by-5 4)))
|
||||||
|
|
||||||
"Don't forget: first things first"
|
"Don't forget: first things first"
|
||||||
(= [:a :b :c :d]
|
(= [:a :b :c :d]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue