Introduce the REPL.
This commit is contained in:
parent
baecf7edb4
commit
498e003fee
25
README.md
25
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!
|
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
|
### Contributing
|
||||||
|
|
||||||
Patches are encouraged! Make sure the answer sheet still passes (`test.sh`, or
|
Patches are encouraged! Make sure the answer sheet still passes (`test.sh`, or
|
||||||
|
Loading…
Reference in New Issue
Block a user