1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-11 00:52:44 +03:00
mal/ruby/suggest.mal
2017-10-09 20:25:08 +00:00

8 lines
197 B
Plaintext

(def! read-args (fn* [args]
(let* [arg (readline "arg> ")]
(if (or (nil? arg) (empty? arg))
args
(read-args (conj args arg))))))
(prn "The args you entered are:" (read-args []))