[clojure/ms] Balance parens (#5255)

This commit is contained in:
Henré Botha 2025-02-13 16:01:49 +01:00 committed by GitHub
parent f5dae9b801
commit 5364bb3339
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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