reactive-banana icon indicating copy to clipboard operation
reactive-banana copied to clipboard

Library for functional reactive programming in Haskell.

Results 61 reactive-banana issues
Sort by recently updated
recently updated
newest added

This was originally reported at https://old.reddit.com/r/haskell/comments/tk1khp/reactivebanana_controlling_behavior_caching/. I've managed to reproduce the bug in the following: ```haskell {-# language BlockArguments #-} module Main where import Data.Bool import Data.Functor import Debug.Trace import...

Type: Bug

The following program: ```haskell {-# language BlockArguments #-} module Main where import Control.Monad import Data.Functor import Reactive.Banana import Reactive.Banana.Frameworks import System.Mem import System.Mem.Weak withGhcDebug = id main :: IO ()...

Hi all, I've set up https://matrix.to/#/#reactive-banana:ocharles.org.uk for real time chat about `reactive-banana`. If you into Matrix - come say hi!

Hi! I've put together a little benchmark of doing some good old 90s particle simulations: https://github.com/ocharles/reactive-banana-fireworks-benchmark. Essentially every clock tick I spawn a new particle, which has position/velocity/life time, and...

Type: Performance

This is a proposed fix for #198. The `Reactive.Banana.Frameworks` is extended with the following: `reactimate1` :: Event (IO ()) -> MomentIO (IO ())` > Like "reactimate", but this returns an...

Type: Enhancement

Hola, I just found this fairly interesting little `newtype`: ```haskell {-# language BlockArguments #-} {-# language DeriveFunctor #-} {-# language DerivingStrategies #-} module Reactive.Banana.Step ( Step, runStep, step ) where...

This commit continues my work on low-level optimizations for event dispatch. My plan of attack is to compile all modules with `-ddump-stg`, and then methodically work from the outside in,...

I've occasionally found this combinator useful: ```haskell -- | Only emit event occurrences coincident with the second event. coincident :: Event a -> Event b -> Event a coincident e1...

Hello, While working on an application I noticed that the application hang any moment I created a new event from an event callback. I decided to create a little application...