• Skip to primary navigation
  • Skip to content
  • Skip to footer
Clojure Diary Clojure Diary
  • Book
  • Code
  • Videos
  • Donate

    Thread first ans thread last in Clojure

    less than 1 minute read

    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
    

    Updated: April 10, 2023

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    Wrote about Java integration, and private functions in Clojure Book

    less than 1 minute read

    REPL Driven Test After Development

    less than 1 minute read

    Automatic Type Conversion in Clojure

    less than 1 minute read

    Added video links to Clojure Book

    less than 1 minute read

    • Feed
    © 2025 Clojure Diary. Powered by Jekyll & Minimal Mistakes.