Skip to content

Commit 2610452

Browse files
authored
Merge pull request #240 from jappeace/develop
Add eventjoin
2 parents 4b04fc4 + d919a23 commit 2610452

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Reflex/Class.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)