on develop help sign in
Never is also a function
822a3c3Jappie Klooster
src/Reflex/Class.hs+1−1
@@ -287,7 +287,7 @@ class ( MonadHold t (PushM t)
287 -- 'Event' occurs
287 -- 'Event' occurs
288 switch :: Behavior t (Event t a) -> Event t a
288 switch :: Behavior t (Event t a) -> Event t a
289 -- | Create an 'Event' that will occur whenever the input event is occurring -- and its occurrence value, another 'Event', is also occurring.
289 -- | Create an 'Event' that will occur whenever the input event is occurring -- and its occurrence value, another 'Event', is also occurring.
290− -- You maybe looking for 'switchHold' never instead.
290+ -- You maybe looking for 'switchHold' 'never' instead.
291 coincidence :: Event t (Event t a) -> Event t a
291 coincidence :: Event t (Event t a) -> Event t a
292 -- | Extract the 'Behavior' of a 'Dynamic'.
292 -- | Extract the 'Behavior' of a 'Dynamic'.
293 current :: Dynamic t a -> Behavior t a
293 current :: Dynamic t a -> Behavior t a