frp Questions
2
Solved
I have a question about the subscribe(on:options:) operator. I would appreciate if anyone can help me to figure it out.
So what we have from the documentation:
Specifies the scheduler on which to ...
4
A promise represents a value that might become available in the future (or fails to do so).
What I am looking for is a data type which represents an available value that might become unavailable i...
Polly asked 28/9, 2014 at 11:32
2
DateTime.Now or Date.now is referential transparent?
This is one of the controversial topic in a functional programming article in Qiita.
First of all, we must be very careful since the word "re...
Hinkley asked 15/5, 2016 at 21:50
3
Solved
I am looking at messing around with creating a functional reactive framework at some point. I have read quite a lot about it and seen a few examples but I wanted to get a clear idea of what this fr...
Howells asked 3/5, 2011 at 21:29
1
I'm stuck with Throttle publisher. I don't understand the way it picks intervals. Debounce publisher is much easier to understand, it picks an interval after each published value and checks whether...
Barton asked 17/7, 2020 at 1:58
2
Solved
I am trying to understand the "Streams as arrows" section in John Hughes' famous "Generalising Arrows to Monads". To be more precise, I am interested in writing down the Fibonac...
1
Solved
I'm trying to perform side effect on Publisher, and I can't find any operator which will allow me to do something like this. To be precise, I'm looking for a concept similar to RxSwift's do(on:).
...
5
Solved
I am learning reactive programming and functional reactive programming in JavaScript. I am very confused.
Wikipedia says that there are various ways to write reactive code such as imperative, OORP...
Exogenous asked 28/12, 2015 at 14:11
2
Solved
How should I merge 2 different types of Observables in RxSwift?
For example:
var a: Observable<Int>
var b: Observable<Void>
Observable.of(a,b).merge() is not possible because of typ...
2
Solved
Is there a way to transform a given AnyPublisher<AnyType, SomeError> to AnyPublisher<AnyType, Never>?
2
Redux is a kind of first order FRP, like Elm used to be.
It seems however that higher order FRP is not really being used together with react.
Why is first order FRP useful with React and higher o...
1
Solved
I follow a pattern in my Rx code, I usually have an Observable trigger which I flatMap to create another Observable for a network request. A simplified example:
enum ViewModelError: Error {
case ...
1
Solved
I'm using Netwire to write a program that is driven by events from the network. I guess there are three questions here:
What makes Control.Wire.Unsafe.Event unsafe? Like the title says, what inva...
1
Solved
My application is bug-free, of course, but just in case it contains any bottom values I want to put in a generic exception catcher which will at least pop up a message box to tell the user what kin...
1
I'd like to understand the original meaning of functional reactive programming in Haskell and how it differs from the actual application of FRP in Javascript. Unfortunately, I have only a superfici...
Laband asked 21/2, 2017 at 17:21
4
Solved
The documentation for Elm's Random module states:
A good way to get an unexpected seed is to use the current time.
http://package.elm-lang.org/packages/elm-lang/core/1.1.0/Random
I don't see ...
Anatomize asked 19/2, 2015 at 12:20
18
Solved
I've read the Wikipedia article on reactive programming. I've also read the small article on functional reactive programming. The descriptions are quite abstract.
What does functional react...
Monteith asked 22/6, 2009 at 16:41
18
Solved
I've read the Wikipedia article on reactive programming. I've also read the small article on functional reactive programming. The descriptions are quite abstract.
What does functional react...
Thibaut asked 22/6, 2009 at 16:41
18
Solved
I've read the Wikipedia article on reactive programming. I've also read the small article on functional reactive programming. The descriptions are quite abstract.
What does functional react...
Benzoyl asked 22/6, 2009 at 16:41
1
I'm currently trying to develop a tiny Conway's Game of Life in Haskell. I wrote a library, lifegame, that enables to manage a grid of cells and to compute its generations
(see github.com/qleguenne...
Petronille asked 5/7, 2014 at 6:27
6
Solved
I had asked this question already:
How do I get the current time in Elm?
And answered it by writing my own (now deprecated) variant of start-app:
http://package.elm-lang.org/packages/z5h/time-app...
Taphouse asked 24/6, 2016 at 20:40
1
Solved
With RxJs, once we start subscribe to an observable, we will start getting values once they are emitted, but how do I get all the values emitted by an observable before I've subscribed to it?
Cabretta asked 22/12, 2016 at 11:15
2
Solved
I am a bit confused, because Obejct.observe is said to be withdrawn from the ES2016.
On the other hand there were talks on Angular Connect that mentions they will rely on it.
So as far I underst...
Keeler asked 10/11, 2015 at 11:48
3
Solved
I'm new to RxJS and FRP in general. I had the idea of converting an existing promise chain in my ExpressJS application to be an observable for practice. I am aware that this probably isn't the best...
Entice asked 29/4, 2015 at 14:21
1
Solved
I'm currently reading the documentation of WebSharper. In the section about FRP, it states:
Functional Reactive Programming (FRP) typically provides an Event type for event streams and a Behavior ...
Haynes asked 10/9, 2016 at 9:17
1 Next >
© 2022 - 2024 — McMap. All rights reserved.