• 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

    Letter pyramid in Clojure

    less than 1 minute read

    Notes

    ;; letter_pyramid.clj
    
    (def chars-list
      (map #(char (+ % 65)) (range 26)))
    
    (defn line [number]
      (clojure.string/join "" (take number chars-list)))
    
    (println (clojure.string/join "\n" (map line (range 1 27))))
    
    • A to Z Pyramid in Ruby

    Updated: October 3, 2022

    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.