on develop help sign in
Merge pull request #240 from jappeace/develop

Add eventjoin

commit261045218f9121e3e20418c62317e6490e13879c authorJohn Ericson <John.Ericson@Obsidian.Systems> dateMon 23 Dec 2019, 09:58 (7 years ago) parent4b04fc4d919a23
1 file changed+2−1
src/Reflex/Class.hs+2−1
src/Reflex/Class.hs+2−1
@@ -286,7 +286,8 @@ class ( MonadHold t (PushM t)
286286 -- | Create an 'Event' that will occur whenever the currently-selected input
287287 -- 'Event' occurs
288288 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.
290291 coincidence :: Event t (Event t a) -> Event t a
291292 -- | Extract the 'Behavior' of a 'Dynamic'.
292293 current :: Dynamic t a -> Behavior t a