News for hackers. Stuff that matters.
Re:An Introduction to Reactive Programming by xpaulbettsx on Monday June 30, 2014 @11:03AM (#7965398)
This pedantic distinction isn't useful to anyone, please stop Well Actually'ing people
Re:An Introduction to Reactive Programming by rwosync on Monday June 30, 2014 @11:11AM (#7965432)
It's not a pedantic distinction given how much the term has been overloaded to refer to dissimilar concepts.
Re:An Introduction to Reactive Programming by platz on Monday June 30, 2014 @11:25AM (#7965509)
We should just have separate terms for Discrete vs Continuous flavors instead of fighting over the one true "FRP"
Re:An Introduction to Reactive Programming by seanmcdirmid on Monday June 30, 2014 @02:21PM (#7966632)
It's not just that. Elm and Rx lack continuous value streams at all, they are completely discrete; also they are very much asynchronous, so they are more like the event stream manipulation done via data flow in the 70s rather than what Elliott and Hudak invented in the late 90s.

For something to be called FRP, they at least need both continuous and discrete abstractions; the simplest description of FRP involves re-evaluation A + B over time, which is not meaningful in Rx or Elm, really.

Re:An Introduction to Reactive Programming by jules on Tuesday July 01, 2014 @05:02AM (#7969705)
It's meaningful in Elm.
Re:An Introduction to Reactive Programming by seanmcdirmid on Tuesday July 01, 2014 @07:25PM (#7974118)
I would love to see an example. I've browsed Evans' thesis, and it seems like he explicitly avoids continuous abstractions (behaviors) for event processing.
Re:An Introduction to Reactive Programming by jules on Friday July 04, 2014 @04:04AM (#7987813)
Here is an example: http://elm-lang.org/edit/examples/Reactive/Position.elm

In Elm behaviors and events are the same thing. Usually operations like filter and fold are only on events, and applicative functor and monadic operations are only on behaviors, but in Elm one type support filter and fold and the applicative functor operations, and monadic bind is not supported at all. I don't think that's good design, but it does mean that Elm has the functionality of both events and behaviors.