practicalli / clojure

Practicalli Clojure REPL Driven Development
https://practical.li/clojure/
Creative Commons Attribution Share Alike 4.0 International
91 stars 36 forks source link

create a repl with Clojure code #459

Open practicalli-johnny opened 1 year ago

practicalli-johnny commented 1 year ago

Write a REPL within the REPL

(defn repl-repl
  "Repl within a REPL"
  (loop []
    (print (eval (read)))
    (recur)))