-
Notifications
You must be signed in to change notification settings - Fork 39
unzip and uneither #59
Comments
Nice! |
I would like to contribute these, but first two questions:
|
On Wed, Apr 17, 2013 at 8:13 PM, Dylan Halperin [email protected]:
|
as long as a signal always has a value, you cannot filter it. |
A few possibilities arise from this. Filtered stream ignores unaccepted changes
But this is bad because a) it leaves the filtered stream with the possibility of having no initial value and b) it doesn't make a ton of sense in terms of signals. Filtering a stream results in a Signalof Options
This kind of works, but it's different from the usual semantics of Signal's value is always optional
And where a filtered signal's parent changed to a value that its filter didn't accept, its own value would go to |
* v0.3.2: Bump version to 0.3.2 demo: Fix instructions in readme Update getting started instructions. Added `unzip` and `uneither` methods to EventStream (Issue #59). Also added some documentation of them in the EventStream page of the demo. ignore .cache files that get generated by sbt Fixed scaladoc's source paths/github links web: Ajax requests should not use RequestVar or lift's ajax mechanism Remove refernce to old contact methods Remove deprecated Reactions.initComet web: Make Reactions a trait (singleton now extends it) Set version to 0.3.2-SNAPSHOT
For my own project, I had to implement those two methods. I did it on EventStream by the code below. I'm very new to reactive and don't know where to put it in the library, otherwise I would file a pull request.
The text was updated successfully, but these errors were encountered: