diff options
Diffstat (limited to 'clojure/src')
| -rw-r--r-- | clojure/src/step0_repl.clj | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clojure/src/step0_repl.clj b/clojure/src/step0_repl.clj index 7a1a443..405037a 100644 --- a/clojure/src/step0_repl.clj +++ b/clojure/src/step0_repl.clj @@ -4,15 +4,15 @@ ;; read (defn READ [& [strng]] - (let [line (if strng strng (read-line))] - strng)) + strng) ;; eval (defn EVAL [ast env] - (eval (read-string ast))) + ast) ;; print -(defn PRINT [exp] exp) +(defn PRINT [exp] + exp) ;; repl (defn rep [strng] (PRINT (EVAL (READ strng), {}))) |
