• 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

    Understanding Clojure reduce better

    less than 1 minute read

    Parsing GraphQL with Clojure

    less than 1 minute read

    Three personal software products I created with Clojure

    less than 1 minute read

    factorial in Clojure. Using memonize. Numeric Data Types.

    less than 1 minute read

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