frp Questions
1
I'm trying to write a MVVM with RxSwift and comparing to what I was used to do in ReactiveCocoa for Objective-C it's been a little hard to write my service in the right way.
An exemple is a Login...
Brunelle asked 2/3, 2016 at 16:26
1
Solved
I’m starting with RxJava, and I would like to create an observable that can save the last state…
In RxSwift, that would be Variable (https://github.com/ReactiveX/RxSwift/blob/master/Documentation...
Altogether asked 7/4, 2016 at 9:57
1
Solved
I have been experimenting with RxJS for two weeks now, and although I love it in principle I just cannot seem to find and implement the correct pattern for managing state. All articles and question...
Runaway asked 21/3, 2016 at 20:47
0
I need to model following in RAC.
I have a tabBarController which will subscribe to a notification signal. Say push notification. Also say currently active view controller may also be want to sub...
Binate asked 16/3, 2016 at 4:41
2
From ReactiveX introduction page:
It is sometimes called “functional reactive programming” but this is a misnomer. ReactiveX may be functional, and it may be reactive, but “functional reac...
Laureen asked 26/2, 2016 at 7:59
3
Solved
Since sodium has been deprecated by the author I'm trying to port my code to reactive-banana. However, there seem to be some incongruencies between the two that I'm having a hard time overcomming.
...
Gelsemium asked 12/1, 2016 at 16:23
1
Solved
I'm brand new to Rx and am finding it difficult to find documentation on composing promises such that data from the first promise is passed into the second and so on. Here's three very basic promis...
Bicameral asked 10/1, 2016 at 2:15
3
Solved
I am currently trying to observe any changes to a given object including all of it's elements.
The following code only fires when an object[x] is updates, but not if individually updating object[x...
Murmurous asked 20/9, 2015 at 19:38
2
Solved
Since subjective answers are to be avoided on SO, I'm specifically asking: What are the functional and/or performance differences between these three functional/reactive libraries that would make m...
Pretypify asked 18/10, 2015 at 0:53
1
Solved
Here's code that used to work (truncated appropriately I hope)
makeNetworkDescription :: forall t . Frameworks t => Parameters -> Moment t ()
makeNetworkDescription params = do
eInput <-...
Detritus asked 20/10, 2015 at 14:3
2
Solved
I'm trying to get into Netwire, I've dug to find documentations, introductions, tutorials and whatnot, but just about every tutorial & existing-code is outdated as to Netwire 5 and uses functio...
Rao asked 16/8, 2014 at 9:36
2
I'm getting started with Netwire version 5.
I have no problem writing all the wires I want to transform my inputs into my outputs.
Now the time has come to write the IO wrapper to tie in my real-...
2
Solved
I am testing with the Netwire haskell library and made it work with a simple time wire:
import Control.Wire
import Prelude hiding ((.), id)
import Control.Monad.IO.Class
import Data.Functor.Ident...
Parapet asked 23/6, 2015 at 1:10
1
Solved
I am trying to create a game using Haskell + Netwire 5 (+ SDL). Now I am working on the output part, where I would like to create wires that read in some game state and output the SDL surfaces to b...
Chancellery asked 23/9, 2015 at 17:33
2
Solved
Is it safe to trigger the fire action in
(addHandler, fire) <- newAddHandler
from a different thread from which the reactive-banana graph was compiled?
Eponymy asked 16/9, 2015 at 14:53
2
Solved
I have a form, which has many image urls - the back-end persists url strings and the images are uploaded directly to S3. I'd like to use Bacon.js streams to handle disabling/enabling the form's sub...
Distant asked 13/7, 2015 at 21:28
2
Solved
In reactive-banana, I am trying to run reactimate :: Event (IO ()) -> Moment () with some actions of Arduino in hArduino package, an instance of MonadIO. There seems no function of Arduino a -&g...
Lethargy asked 29/7, 2015 at 0:12
0
I feel like I have a good handle on functional reactive programming (FRP) "in the small", e.g. composing mouse events together into a "drag" event stream or mapping and filtering WebSocket events i...
Mesothelium asked 15/7, 2015 at 22:29
1
I want to study FRP in Haskell, but it's a bit difficult to decide on a library to use.
Many seem to be dead attempts, some seem to have been resurrected (such as recent activity on Yampa).
From wh...
Tantalic asked 2/10, 2014 at 15:21
0
UPDATE: there is a issue in ghcjs: https://github.com/ghcjs/ghcjs/issues/296
i play with ghcjs and sodium but after 3 seconds my application doesn't emit events anymore.
a minimal example:
a ...
1
I am currently trying to understand arrows and FRP, and I came upon a question, which I cannot seem to map to FRP, namely how to model a road network.
I thought I could model a road network as Arr...
Lawgiver asked 21/5, 2015 at 6:27
2
Solved
The Mousetrap.js library lets you bind a callback function to keys like so:
Mousetrap.bind('space', function, 'keydown');
What's the best way to attach a stream to this without using the Bus of D...
Exuberate asked 14/5, 2015 at 23:15
2
For the task I'm working on, the signal system of the Elm programming language seems to be an appropriate solution.
But my pure computational functions are implemented in Haskell. Is there a Haske...
2
Solved
I've read about FRP and was very excited.
It looks great, so you can write more high-level code, and everything is more composable, and etc.
Then I've tried to rewrite my own little game with a fe...
Amphitheater asked 10/4, 2015 at 14:25
5
I seem to be a little bit confused when comparing Clojure's core.async to the so called Reactive Extensions (Rx) and FRP in general. They seem to tackle similar problem of async-hronicity, so I won...
Rashid asked 17/12, 2013 at 11:7
© 2022 - 2024 — McMap. All rights reserved.