In a nutshell, those are the building blocks for the "dataflow programming paradigm".
It's an easy way to make a computation done in thread A (and using a pre-declared promise) block until thread B has delivered the promise (given it its value). The book CTM covers dataflow programming : http://www.info.ucl.ac.be/~pvr/book.html Now, to be honest, i still haven't read the related parts of the book, and I'm unable to give more concrete examples yet :-) 2010/1/21 Baishampayan Ghose <[email protected]>: > Hello, > > I am trying to understand the use-cases of the new promise/deliver > feature in Clojure. I have tried using them, and they seem to be > pretty straight-forward to use, but unfortunately I haven't been able > to understand its use-cases. > > It would be great if someone pointed out some example usage of > promise/deliver. > > Regards, > BG > > -- > Baishampayan Ghose > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > [email protected] > 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 post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
