*Update* Version 0.2.0 simplified the implementation even more (shaved another 10 more lines from 100 LOC), introduce flexible *fw* macro, function wrapped in a fun-map can cache and update the cache when its dependencies updated.
*Background* A fun-map is a map can automatically unwrap any value from identities (ref, atom, promise, delay, future …) etc, and provides a new way to construct function invocation path, it allows you decouple function dependencies and can be changed anytime without change function implementation code, make unit testing your function with plain value, but replace it anytime in integration. It can be used as a replacement of prismatic graph with more possibility. It also can replace component library for integration, by introduce no dependency of your code, you write your stoppable component without adapt any protocol or any multimethod implementation. Just put your component in a fun-map as a value, and it’s good to go. A fun-map is just a normal map with auto unboxing ability, it can be used interchangeable with any plain map, all magics are done by the wrapped value/function/identity. *Github Link* https://github.com/robertluo/fun-map -- 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.