Hi Stuart, On Jan 30, 1:43 pm, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: > I have put together a another implementation of Cells.
Cool! One of the things I really like about Cells is that it can really take the pain out of MVC style GUI building: http://github.com/timothypratley/strive/blob/8285ef1419601411797205de0d60a2b2c0b71be0/src/clj/cells.clj should demonstrate better than I can articulate. To me that's an exciting aspect of cells, but also difficult to cover: watching-label is quite useful, but people might wish to use a wider range of controls which would need similar helpers. I'd be interested in your thoughts on the matter, and whether you think there is scope to include watching-label and/or similar. > The idea is the same as Cells. You create a special variable (an "auto- > agent") whose value is defined by an expression. Whenever one of the > other variables (agent, atom, or ref) referenced in the expression > changes its value, the expression is automatically reevaluated and the > value of the auto-agent is updated. Nice code - very useful. Regards, Tim. --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---