21 | | While a background in Scheme and Java should be sufficient to immediately start working with the client, an excellent overview of the idiomatic use of Clojure can be found in "Joy of Clojure", by Michael Fogus and Chris Houser. If you need to quickly look up the documentation on any particular function, just type "(doc <function name>)" in the REPL (This will also work for functions that you define provided that you wrote docstrings or added meta-data). |
| 21 | While a background in Scheme and Java should be sufficient to immediately start working with the client, an excellent overview of the idiomatic use of Clojure can be found in "Joy of Clojure", by Michael Fogus and Chris Houser. If you need to quickly look up the documentation on any particular function, just type "(doc <function name>)" in the REPL. This will also work for functions that you define provided that you wrote docstrings or added meta-data. For example, |
| 22 | |
| 23 | {{{ |
| 24 | user=> (defn foo "Returns the argument." [x] x) |
| 25 | #'user/foo |
| 26 | user=> (doc foo) |
| 27 | ------------------------- |
| 28 | user/foo |
| 29 | ([x]) |
| 30 | Returns the argument. |
| 31 | nil |
| 32 | }}} |
| 33 | |