Thread first ans thread last in Clojure
Notes
1
2
3
4
5
6
7
8
9
;; thread_first_and_last.clj
;; thread first
(-> 2
(Math/pow 3)) ; 8.0
;; thread last
(->> 2
(Math/pow 3)) ; 9.0
Notes
1
2
3
4
5
6
7
8
9
;; thread_first_and_last.clj
;; thread first
(-> 2
(Math/pow 3)) ; 8.0
;; thread last
(->> 2
(Math/pow 3)) ; 9.0