[clojure/ms] Balance parens

This commit is contained in:
Henré Botha 2025-02-13 14:46:23 +01:00
parent 8049396fb8
commit f3c99d9c2d

View File

@ -283,9 +283,9 @@ keymap ; => {:a 1, :b 2, :c 3}
; yang melibatkan collection:
(->>
(range 10)
(map inc) ;=> (map inc (range 10)
(filter odd?) ;=> (filter odd? (map inc (range 10))
(into [])) ;=> (into [] (filter odd? (map inc (range 10)))
(map inc) ;=> (map inc (range 10))
(filter odd?) ;=> (filter odd? (map inc (range 10)))
(into [])) ;=> (into [] (filter odd? (map inc (range 10))))
; Result: [1 3 5 7 9]
; Jika anda mahu lebih fleksibel untuk meletakkan hasil perkiraan,