Skip to content

Instantly share code, notes, and snippets.

View albert-yu's full-sized avatar
🎹

Albert Yu albert-yu

🎹
  • Navattic
  • New York, NY
View GitHub Profile
;;-------------------------------------------
;; FUNCTIONS
;; https://clojure.org/guides/learn/functions
;;-------------------------------------------
;; 1)
;; Define a function greet that takes no arguments and prints "Hello".
;; Replace the _ with the implementation: (defn greet [] _)
(defn greet [] (println "Hello"))