mirror of
https://github.com/ilyakooo0/reflex.git
synced 2024-10-04 05:37:09 +03:00
Never is also a function
This commit is contained in:
parent
5eeb5d0db5
commit
822a3c3954
@ -287,7 +287,7 @@ class ( MonadHold t (PushM t)
|
||||
-- 'Event' occurs
|
||||
switch :: Behavior t (Event t a) -> Event t a
|
||||
-- | Create an 'Event' that will occur whenever the input event is occurring -- and its occurrence value, another 'Event', is also occurring.
|
||||
-- You maybe looking for 'switchHold' never instead.
|
||||
-- You maybe looking for 'switchHold' 'never' instead.
|
||||
coincidence :: Event t (Event t a) -> Event t a
|
||||
-- | Extract the 'Behavior' of a 'Dynamic'.
|
||||
current :: Dynamic t a -> Behavior t a
|
||||
|
Loading…
Reference in New Issue
Block a user