Re: [ANN] Reaction

2013-11-23 Thread Kelker Ryan
Thanks. I just added some documentation and two more macros.API Docs user> (use '[reaction.core]) nil reaction.core> (def-reactive! my-int 1) #'reaction.core/my-int reaction.core> (push! my-int inc inc) nil reaction.core> @my-int 3 reaction.core> (pop! my-int) nil reaction.core> @my-int 2 reaction.

Re: [ANN] Reaction

2013-11-22 Thread Marc Limotte
Very clever. Thanks for the contribution. On Fri, Nov 22, 2013 at 1:20 AM, Kelker Ryan wrote: > Reaction - https://github.com/runexec/reaction > *A small reactive programming library for Clojure* > > *Usage* > > user> (use '[reaction.core]) > nil > user> (def-reactive! my-int 123) > #'user/my

[ANN] Reaction

2013-11-21 Thread Kelker Ryan
Reaction  - https://github.com/runexec/reactionA small reactive programming library for ClojureUsageuser> (use '[reaction.core])niluser> (def-reactive! my-int 123)#'user/my-intuser> @my-int123user> (rapply! my-int inc)niluser> @my-int124user> (original-value my-int)123user> @my-int124user> (rapply!