From 498e003feeaa55dcf3bb88fa58634593878838e8 Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Mon, 1 Nov 2010 20:12:00 -0500 Subject: [PATCH] Introduce the REPL. --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 80a9b70..8849bab 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,31 @@ things pass, you should work slowly, making sure you understand why the answer is what it is. Enjoy your path to Clojure enlightenment! +### Trying more things out + +There's a REPL (Read-Evaluate-Print Loop) included in the Clojure Koans. Just +run: + +`script/repl` on Mac/\*nix + +`script\repl` on Windows + +Here are some interesting commands you might try, once you're in a running REPL: + + (find-doc "vec") + (find-doc #"vec$") + (doc vec) + +And if those still don't make sense: + + (doc doc) + (doc find-doc) + +will show you what those commands mean. + +You can exit the REPL with `CTRL-d` on any OS. + + ### Contributing Patches are encouraged! Make sure the answer sheet still passes (`test.sh`, or