Stuart Sierra,

Thank you for the response. I won't take that talk as encyclopedic. 
The 'chain-consequences' function is very interesting, though it is 
unfamiliar to me. I am still learning about Clojure. 

You mention that the State/Event pattern is a common one. If you were 
talking about architectures, I would say your description reminds me of 
Kafka (events are data structures, replaying events can replay the whole 
history of state in the app, etc) but I am curious where you feel this 
pattern shows up as a design pattern? I assume you mean to broadly define 
this to include those situations where we might use pure functions in loop 
or reduce to iterate over a "message" where the "message" is some data 
structure, perhaps a JSON document, or some other kind of seq generated by 
an event? 






On Monday, May 25, 2015 at 9:36:39 AM UTC-4, Stuart Sierra wrote:
>
> This is a pattern I have used **occasionally**.
>
> That whole talk is just patterns that were in my head at the time. Take 
> whatever you find useful from it, but don't treat it as a universal or 
> complete list.
>
> If you squint, that 'chain-consequences' function behaves sort of like a 
> monad, but I won't claim it's properly monadic according to anyone's 
> definition.
>
> –S
>

-- 
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.

Reply via email to