Changes between Version 28 and Version 29 of Clojure Client Tutorial
- Timestamp:
- Aug 4, 2011 3:31:11 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Clojure Client Tutorial
v28 v29 328 328 }}} 329 329 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)) 330 We need to redefine "get-location-of" with a different send function. 331 332 {{{ 333 client.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)) 334 340 #'client.core/get-location-of 335 341 }}}