frp Questions

2

Solved

I tried the following without success. The equivalent using -subscribeNext: works as expected. // A [[_viewModel.loginCommand.executionSignals flatten] subscribeCompleted:^{ NSLog(@"A"); }]; My...
Equipollent asked 13/3, 2014 at 0:48

2

Solved

Reading about FRP (Functional Reactive Programming) I'm amazed about how intuitive and logical it seems compared to the standard imperative approach; one thing however puzzles me.. How doesn't the ...
Farci asked 29/12, 2014 at 21:41

1

Solved

Is there a way to unit test networks created in reactive banana? Say I've built up some network with some input events - is it possible to verify that events have produced some output stream/behavi...
Ufo asked 30/11, 2014 at 17:52

0

I am currently exploring the possibility to use basic containers to give FRP networks more structure and by that to create more sophisticated event networks easier. Note: I use ordrea but had the...
Sandoval asked 20/11, 2014 at 12:55

1

Solved

I'm using RxJava to essentially collect the list of individually emitted Observables and combine them into a list of Observables (essentially sort of the opposite of flatMap). Here's my code: // ...
Marjoriemarjory asked 28/10, 2014 at 2:18

1

Solved

I've just been investigating FRP in Haskell (mainly reactive-banana (testimonials!)), and I'm wondering is it common for them, and in case of reactive-banana what's the reason to operate in IO mona...
Hypaethral asked 25/10, 2014 at 7:4

1

Solved

I'm learning Haskell, and trying to write some event-driven programs. The following code is from the tutorial: http://www.haskell.org/haskellwiki/OpenGLTutorial2 main = do (progname,_) <- get...
Algiers asked 28/2, 2013 at 7:15

1

Solved

Is there something like reactive-bananas union function in elerea? union :: Signal a -> Signal a -> Signal a This just merges the two signals into one stream. Ideally I am searching for an...
Dees asked 29/9, 2014 at 16:37

1

Solved

Background I am using repa more as a "management" tool. I pass around reactive-bananas AddHandlers in an Array: Array D DIM2 (AddHandler Bool). Currently I am using this kludge: mapMArray :: (Mo...
Chockfull asked 17/9, 2014 at 12:22

1

Solved

I am currently researching for my next project. This is in a pre-planning phase so this question is just to get an overview on existing technology. Setup I have a directed acyclic graph (DAG) wit...
Runin asked 11/9, 2014 at 12:38

3

Solved

Behaviors are ubiquitously defined as “time-varying value”s1. Why? time being the dependency/parameter for varying values is very uncommon. My intuition for FRP would be to have behaviors as even...

2

Solved

I'm still trying to get a hang of the parallels between arrow notation and the semantics of the Arrow typeclasses defined in Haskell. In particular, this question seems to have a very canonical exa...
Equipotential asked 12/8, 2014 at 4:24

1

Solved

My network looks like this: ePhysics :: Event t () bPlayerForce :: Behavior t (Double,Double) bPlayerPosition :: Behavior t (Double, Double) ePhysics is fired repeatedly from a timer. I'm having...

2

Solved

Every time I see the phrase Functional Reactive Programming I realize that I don't understand what it is. I then go back to this question, think I understand what it is, and the cycle repeats later...
Arrant asked 24/7, 2013 at 22:20

2

Is there any alive Haskell library which implements FRP and could be used to program UI/interactive graphics? What I expect from such a library: Doesn't use any crazy GHC extension, so cod...
Quinone asked 9/7, 2014 at 14:51

1

Solved

Example from scala.rx: import rx._ val a = Var(1); val b = Var(2) val c = Rx{ a() + b() } println(c()) // 3 a() = 4 println(c()) // 6 How is the above version better than: var a = 1; var b = 2...
Filigree asked 30/6, 2014 at 6:54

1

Solved

How do you deal with the current time in reactive-banana? Ideally I'd like to have a Behaviour which I can "poll" to get the current time. However, polling Behaviours with Events (via <@ etc.) ...
Fer asked 10/6, 2014 at 19:37

2

Solved

I've been hearing a lot about functional reactive programming, and decided to check out what the big deal is. Going through the bacon.js documentation, it seems that the main difference is that ins...

0

I am trying to get some experience with reactive-banana, accord to its website, it should support GTK. I was wondering if there is any tutorial/introductory material on how to do that? I read here...
Dayfly asked 30/4, 2014 at 17:4

4

Solved

In recent implementations of Classic FRP, for instance reactive-banana, there are event streams and signals, which are step functions (reactive-banana calls them behaviours but they are nevertheles...
Polyphony asked 10/4, 2014 at 13:18

2

First of all a disclaimer, I might have misunderstood completely the way threepenny-gui works due to my not so advanced knowledge of Haskell, so take my assertions with a grain of salt. :-) It se...
Erelia asked 13/4, 2014 at 15:19

1

Solved

I've been comparing pull-only FRP (ie netwire) with push-pull FRP (ie reactive-bannana) in the implementation of games. Are there advantages to one over the other? Things I've notices are: Push e...
Allard asked 16/12, 2013 at 2:3

3

Solved

I'm trying to understand how the following zip function (esp. the invoke function) can be made more functional. The issue I've got is that the invoke method has to wait for both the left and right ...
Clambake asked 1/7, 2013 at 14:22

4

I read Deprecating the Observer Pattern with Scala.React and found reactive programming very interesting. But there is a point I can't figure out: the author described the signals as the nodes in ...
Mise asked 27/1, 2014 at 15:47

1

Solved

I'm using ReactiveCocoa signals to represent calls to RESTful backend in our system. Each RESTful invocation should receive a token as one of the parameters. The token itself is received from authe...
Moth asked 20/1, 2014 at 19:32

© 2022 - 2024 — McMap. All rights reserved.