Evaluating this form:
_________________________________
(dispatch/react-to #{:dom-loaded}
(fn [t d] (do
(load-todos!) ;; init !todos OK
(log-console (str "todos=" @!todos)) ;; OK
(map #(add-field! (:title %)) @!todos))))
;; not evaluated
___________________________________
the last expr is not evaluated : the side effect is on another atom
variable. When this last expr evaluated outside in the repl, it does the job
Why is that last expr not evaluated in the reactor ?
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en