Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's what Rx is: The idea of a list are some items in an order (a Sequence in FP-speak). On top of a Sequence you can implement all kinds of interesting operations like map/filter/reduce.

If you look at an Event like KeyUp, you'd end up with some items, in a particular order. Thus, you realize, that events and lists really are the same thing. In fact, they're not only ostensibly the same, they are mathematically provable to be the same.

Rx therefore, gives you all the operations you can do to a list, and applies it to an event (or a callback, which is just an event that only happens once).



I enjoyed your book! Are there any plans for an updated or expanded version?

If anyone wants a simple introduction to Rx, Paul Betts (and Jesse Liberty) wrote one last year.

http://www.amazon.com/Programming-Reactive-Extensions-Jesse-...


Thanks! No plans for a 2nd edition yet, but I definitely have a lot I'd like to add.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: