add-watch is a good example of this: https://clojuredocs.org/clojure.core/add-watch
On Wed, May 6, 2015 at 8:33 PM, larry google groups < lawrencecloj...@gmail.com> wrote: > I am looking here: > > > https://strange-loop-2012-notes.readthedocs.org/en/latest/monday/functional-design-patterns.html > > I read: > > Observer Pattern > <https://strange-loop-2012-notes.readthedocs.org/en/latest/monday/functional-design-patterns.html#observer-pattern> > > - Register an observer with a stateful function > > The observer could take the old and new state, along with either the > delta, the triggering event, or the container. > > *Can anyone point to something on Github that shows an example of this? * > > > > > > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- “One of the main causes of the fall of the Roman Empire was that–lacking zero–they had no way to indicate successful termination of their C programs.” (Robert Firth) -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.