@@ -76,7 +76,6 @@ module Reflex.Class
7676 , factorEvent
7777 , filterEventKey
7878 -- ** Collapsing 'Event . Event'
79− , eventJoin
8079 , switchHold
8180 , switchHoldPromptly
8281 , switchHoldPromptOnly
@@ -287,7 +286,8 @@ class ( MonadHold t (PushM t)
287286 -- | Create an 'Event' that will occur whenever the currently-selected input
288287 -- 'Event' occurs
289288 switch :: Behavior t (Event t a) -> Event t a
290− -- | 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.
291291 coincidence :: Event t (Event t a) -> Event t a
292292 -- | Extract the 'Behavior' of a 'Dynamic'.
293293 current :: Dynamic t a -> Behavior t a
@@ -981,10 +981,6 @@ fanThese e =
981981fanMap :: (Reflex t, Ord k) => Event t (Map k a) -> EventSelector t (Const2 k a)
982982fanMap = fan . fmap mapToDMap
983983
984−-- | 'switchHold' never = eventjoin
985−eventJoin :: (Reflex t, MonadHold t m) => Event t (Event t a) -> m (Event t a)
986−eventJoin = switchHold never
987−
988984-- | Switches to the new event whenever it receives one. Only the old event is
989985-- considered the moment a new one is switched in; the output event will fire at
990986-- that moment only if the old event does.