clojure icon indicating copy to clipboard operation
clojure copied to clipboard

create a repl with Clojure code

Open practicalli-johnny opened this issue 2 years ago • 0 comments

Write a guide showing how to create a REPL within the Clojure REPL.

This helps understanding of how the REPL process works in Clojure.

Basic Example

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

practicalli-johnny avatar Sep 28 '23 18:09 practicalli-johnny