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 ...
Epigenesis asked 22/1, 2021 at 18:46

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...

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...
Darned asked 8/8, 2020 at 21:25

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:). ...
Estrella asked 1/6, 2020 at 19:12

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...
Libau asked 20/8, 2016 at 3:4

2

Solved

Is there a way to transform a given AnyPublisher<AnyType, SomeError> to AnyPublisher<AnyType, Never>?
Gerous asked 3/10, 2019 at 21:26

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...
Colpin asked 23/9, 2016 at 16:49

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 ...
Weinshienk asked 3/10, 2019 at 20:41

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...
Contortionist asked 6/4, 2018 at 21:14

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...
Flock asked 23/5, 2018 at 13:56

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...

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...

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...

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...

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 ...

© 2022 - 2024 — McMap. All rights reserved.