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

    Karthikeyan A K

    Hello, I am Karthikeyan A K, a software architect, and these writings are my experiments with Clojure. Contact me @ +91 8428050777 for Clojure consulation in weekends.

    • Email

    What really happens in memoize

    less than 1 minute read

    ;; what_really_happens_in_momoize.clj
    
    (def return-num (memoize
              (fn [num]
                (println "in return(" num ")" )
                num)))
    
    (return-num 52) ;; excute more than once
    (return-num 42) ;; excute more than once
    

    Updated: October 18, 2022

    Twitter Facebook LinkedIn
    Previous Next

    You May Also Enjoy

    factorial in Clojure. Using memonize. Numeric Data Types.

    less than 1 minute read

    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

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