Interesting. Our model came from large 'let' statements in Clojure, which I think is similar (I'm not too familiar with Haskell). The advantage over the let statement is that now you can manipulate the composition, run only part of it, wrap the value functions to monitor them, and so on. I think the latter use-case is actually very closely related to the Haskell example, since it lets us do the same kinds of things you would do with a monad (see graph_examples_test for an example with 'resources') . But here the wrapping is a higher-order function, rather than a monad that has to be specified up front.
On Thursday, February 7, 2013 2:38:50 AM UTC-8, Valentin Golev wrote: > > Graph definitions really remind me of `do` syntax in Haskell, where you > can bind values and then use them in later steps of the computation. > > On Tuesday, January 29, 2013 10:46:54 PM UTC+4, Aria Haghighi wrote: >> >> Hey all, >> >> Prismatic has open-sourced our Plumbing and Graph library on >> github<https://github.com/prismatic/plumbing>. >> Jason Wolfe gave a >> talk<http://blog.getprismatic.com/blog/2012/10/1/prismatics-graph-at-strange-loop.html>about >> how we use graph for systems composition at Strange loop last year. >> Please give the library >> a whirl and let us know if you're using it and if you find any issues or >> feature requests. We use this library very heavily throughout our code and >> hope others find it useful as well. >> >> Best, Aria >> > -- -- 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/groups/opt_out.