It's slightly different, but libraries such as Flow or Prismatic's Graph can be used to achieve a similar effect.
Flow: https://github.com/stuartsierra/flow Graph: http://blog.getprismatic.com/blog/2012/10/1/prismatics-graph-at-strange-loop.html Example using Flow: (def the-flow (flow b ([a] (println "This is a:" a) 2) c ([b] (println "This is b:" b) 3) out ([a b c] (println "This is c:" c) (+ a b c)))) (def the-fn (flow-fn the-flow [a] out)) (the-fn 1) ;; This is a: 1 ;; This is b: 2 ;; This is c: 3 ;;=> 6 -- 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