Never is also a function

This commit is contained in:
Jappie Klooster 2019-12-20 23:25:14 +01:00
parent 5eeb5d0db5
commit 822a3c3954

View File

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