@@ -352,7 +352,7 @@ factorDyn d = buildDynamic (sample (current d) >>= holdKey) update where
352352--
353353-- > demuxed (demux d) k === fmap (== k) d
354354--
355−-- However, the when getDemuxed is used multiple times, the complexity is only
355+-- However, when getDemuxed is used multiple times, the complexity is only
356356-- /O(log(n))/, rather than /O(n)/ for fmap.
357357data Demux t k = Demux { demuxValue :: Behavior t k
358358 , demuxSelector :: EventSelector t (Const2 k Bool)
@@ -506,7 +506,7 @@ instance AllAreFunctors f t => AllAreFunctors f (h ': t) where
506506
507507-- | Convert a datastructure whose constituent parts are all 'Dynamic's into a
508508-- single 'Dynamic' whose value represents all the current values of the input's
509−-- consitutent 'Dynamic's.
509+-- constituent 'Dynamic's.
510510collectDynPure :: ( RebuildSortedHList (HListElems b)
511511 , IsHList a, IsHList b
512512 , AllAreFunctors (Dynamic t) (HListElems b)
@@ -585,7 +585,7 @@ distributeDMapOverDyn = return . distributeDMapOverDynPure
585585combineDyn :: forall t m a b c. (Reflex t, Monad m) => (a -> b -> c) -> Dynamic t a -> Dynamic t b -> m (Dynamic t c)
586586combineDyn f a b = return $ zipDynWith f a b
587587
588−-- | A psuedo applicative version of ap for 'Dynamic'. Example useage:
588+-- | A pseudo applicative version of ap for 'Dynamic'. Example useage:
589589--
590590-- > do
591591-- > person <- Person `mapDyn` dynFirstName