Re: [ANN] fun-map: put your code into this map, it turns value when you access it

2018-05-10 Thread Jason Kapp
Cool. On Thursday, May 10, 2018 at 4:46:31 PM UTC-6, Robert Luo wrote: > > 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

Re: [ANN] fun-map: put your code into this map, it turns value when you access it

2018-05-10 Thread Robert Luo
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

Re: [ANN] fun-map: put your code into this map, it turns value when you access it

2018-05-10 Thread Jason Kapp
This looks a lot like Prismatic's Plumbing library: https://github.com/plumatic/plumbing On Tuesday, May 8, 2018 at 8:36:23 PM UTC-6, Robert Luo wrote: > > *Github Link: https://github.com/robertluo/fun-map > * > > It is a lazy map: > > (def m (fun-map {:a