Skip to content

Instantly share code, notes, and snippets.

@viebel
Created December 4, 2019 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save viebel/ef35d1f909e22063ad8750447a2a9882 to your computer and use it in GitHub Desktop.
Save viebel/ef35d1f909e22063ad8750447a2a9882 to your computer and use it in GitHub Desktop.
(defn read-input []
(loop []
(let [input (read-line)]
(when-not (= ":done" input))
(println (str "You entered: >>" input "<<"))
(recur))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment