For those of you who are interested and have a few spare minutes: I have a request for comments/feedback on my (first) use of protocols and datatypes (and of my Clojure programming too :-)
I've written a functional implementation of Michael Nygaards circuit breaker stability pattern. Code at github: - http://github.com/krukow/clojure-circuit-breaker/blob/master/src/net/higher_order/integration/circuit_breaker/states.clj - http://github.com/krukow/clojure-circuit-breaker/blob/master/src/net/higher_order/integration/circuit_breaker/atomic.clj Ideas being that (wrap-with (fn ..) (make-circuit-breaker)) gives back a wrapped function that is "protected by" a circuit breaker. A longer blog entry: http://blog.higher-order.net/2010/05/05/circuitbreaker-clojure-1-2/ Works with the latest snapshot of 1-2. Use swank-clojure-project in emacs to try... Thanks, - Karl -- 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