This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;------------------------------------------- | |
;; 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")) |
NewerOlder