Open andrewthad opened 5 years ago
ping, I'm also interested in this
How would this be different from fmap
? Notice that there is a Functor (Dynamic t)
superclass constraint on Reflex t
https://github.com/reflex-frp/reflex/blob/3605d501dd9d4049e7402122a704dbe9a65298e9/src/Reflex/Class.hs#L210
fmapCheap
is implemented in terms of pushCheap
-- | Like 'push' but intended for functions that the implementation can consider cheap to compute for performance considerations. WARNING: The function passed to 'pushCheap' may be run multiple times without any caching.
pushCheap :: (a -> PushM t (Maybe b)) -> Event t a -> Event t b
Is it possible to add: