Changes between Version 6 and Version 7 of Clojure Client Tutorial
- Timestamp:
- Aug 2, 2011 1:59:52 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clojure Client Tutorial
v6 v7 35 35 * The function that you pass as an argument to swap! must be pure (as in no side effects). This is because the update to the atom is retriable so it may get called more then once. 36 36 * Atoms are your go-to way to manage state. 37 * If you must define a type, prefer the simplest option. A decision flowchart: [http://cemerick.com/2011/07/05/flowchart-for-choosing-the-right-clojure-type-definition-form/]. 37 38 38 39 Now it is time to learn to use the client. cd to the top level directory and typu "lein repl". If everything went smoothly you'll see something about no rlwrap and the prompt.