on develop help sign in
Merge pull request #251 from BlockScope/develop

Fix the typo behvior, choose between a and the.

commite7e7f19de23fe9056d1adcb5ca9b5bca51e88a04 authorLuigy Leon <luichi.19@gmail.com> dateWed 16 Jan 2019, 18:31 (8 years ago) parent4b64641846e6e0
1 file changed+2−2
src/Reflex/Class.hs+2−2
src/Reflex/Class.hs+2−2
@@ -926,8 +926,8 @@ 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
930−-- carried by the event when it fires.
929+-- | Create a new behavior given a starting behavior and switch to the behavior
930+-- 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)
933933switcher b eb = pull . (sample <=< sample) <$> hold b eb