• Skip to primary navigation
  • Skip to content
  • Skip to footer
Clojure Diary Clojure Diary
  • Search
  • 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

    Finding File’s MIME Type, Using Apache Tika, in Clojure

    less than 1 minute read

    Alex Bedner proof read my Clojure Book

    1 minute read

    Learn Ring - 13. CSS

    less than 1 minute read

    Learn Ring - Session Vs Cookie

    1 minute read

    Cookies and sessions are both ways to persist data across HTTP requests, but they work differently:

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