Hi,

On Jun 25, 8:12 am, michele <michelemen...@gmail.com> wrote:

> So the validation takes place after "alter messages conj msg" in the
> add-message function?

Well. "in between". It takes place after the conj, but "before" the
alter. The value is taken from the ref and modified by the function
you provide. In this case the conj. The new value is then fed to the
validator and on success put back into the ref.

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to