Changes between Version 28 and Version 29 of Clojure Client Tutorial


Ignore:
Timestamp:
Aug 4, 2011 3:31:11 PM (13 years ago)
Author:
kedwar10
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clojure Client Tutorial

    v28 v29  
    328328}}}
    329329
    330 We need to redefine "get-location-of" slightly.
    331 
    332 {{{
    333 client.core=> (defn get-location-of [quagent] (client->server send-and-get-later quagent :now :current-location nil data->doubles))
     330We need to redefine "get-location-of" with a different send function.
     331
     332{{{
     333client.core=> (defn get-location-of [quagent]
     334                (client->server send-and-get-later ;
     335                                quagent
     336                                :now
     337                                :current-location
     338                                nil
     339                                data->doubles))
    334340#'client.core/get-location-of
    335341}}}