Fix the typo behvior, choose between a and the.
commit666d885c176bbc2d98b6756c448db64722c64f95
authorPhil de Joux <philderbeast@gmail.com>
dateWed 2 Jan 2019, 13:21 (8 years ago)
parentc0f3ee4
src/Reflex/Class.hs+1−1
@@ -926,7 +926,7 @@ instance Reflex t => Align (Event t) where
926926gate :: Reflex t => Behavior t Bool -> Event t a -> Event t a
927927gate = attachWithMaybe $ \allow a -> if allow then Just a else Nothing
928928
929−-- | Create a new behavior given a starting behavior and switch to a the behvior
929+-- | Create a new behavior given a starting behavior and switch to a behavior
930930-- carried by the event when it fires.
931931switcher :: (Reflex t, MonadHold t m)
932932 => Behavior t a -> Event t (Behavior t a) -> m (Behavior t a)