I have been spending some hammock time on the problem of converting a stream of events into a sequence. And Lo and Behold, the answer falls in my lap. I may need to see if I can implement the pipe function in ClojureScript. Maybe if I spend more time in the hammock, someone will have already done it.
Be sure and read Clojure - From Callbacks to Sequences for a nice explanation and examples.
Here is the function that does the magic:
Wednesday, 19 December 2012
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment