react icon indicating copy to clipboard operation
react copied to clipboard

Declarative events and signals for OCaml

Results 9 react issues
Sort by recently updated
recently updated
newest added

this is another performance improvement suggestion. it's entirely possible that this breaks the JS backend. i have not tried. weak array creations are reduced further by keeping old weak array...

i noticed that my simulation-minibenchmarks spent most of their time in weak array creation and garbage collection. here is a naive attempt at reducing this load. the result is that...

I was looking for something like `S.switch` or `E.switch` but for an `'a event signal`. So basically `fun sig_of_events -> sig_of_events |> S.changes |> E.switch E.never`. Is this available in...

It's currently expensive to merge a dynamic collection of events: The `E.merge` function only works on a fixed list, so on each change to the list, we need to re-merge...

enhancement
question

I'm trying to merge a large number of events, which are mostly passive (only one or two triggers on each step.) The complexity of `E.merge` makes this prohibitive, since it...

enhancement

it would help debugging the logic of a react program to be able to see the full dependency graph in some way. especially if signals/events are created dynamically. for instance...

enhancement

One of the annoyance of working with higher-order signals (i.e. signals carrying signals or events) is that the `eq` parameter has to be specified explicitly in the combinators that carry...

enhancement

In general it is [not allowed](http://erratique.ch/software/react/doc/React#update) to update primitives from an update step. If this happens and two update steps get intermingled it seems we get assertions errors from `react.ml`...

enhancement

Real world long running programs may not want to fail on unexpected exceptions. As it stands if an exception is raised by a user defined signal or event it usually...

enhancement