Changes between Version 6 and Version 7 of Clojure Client Tutorial


Ignore:
Timestamp:
Aug 2, 2011 1:59:52 AM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clojure Client Tutorial

    v6 v7  
    3535* 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.
    3636* 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/].
    3738
    3839Now 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.