Yes. Fun-map can be used like a `graph` in plumbing. It actually has a macro named `fnk` just like plumbing. Both of fun-map and plumbing can link functions toghether by the name of arguments, hence can be used as a dependency injection tool.
However, the implementation of fun-map is very different from plumbing. - The graph in plumbing is a data structure defined by a map, but need be compiled to a function. While a fun-map is just a plain map, so no compilation there. - Plumbing allow you compile your computation eagerly or lazily, in fact, it even use another lazy-map library. Fun-map is just map and you can put delay or future in you value for each map entry, so there is not any limit to choose. - the compiling process can detect cyclical dependency between functions, while in a fun-map there is not such a mechanism yet. - you can not put a separated value or function in a graph, the compilation process will remove them. In a fun-map you can keep any thing. Because fun-map do no pre-computation, it just use clojure function call and map lookup itself, the implementation is very simple. -- 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.