@@ -3,7 +3,7 @@ module Signal where
33`lift8` and infix lift operators `<~` and `~`, combinations, filters, and
44past-dependence.
55
6−Signals are time-varying values. Lifted functions are reevaluated whenver any of
6+Signals are time-varying values. Lifted functions are reevaluated whenever any of
77their input signals has an event. Signal events may be of the same value as the
88previous value of the signal. Such signals are useful for timing and
99past-dependence.
@@ -95,11 +95,11 @@ combine = foldr (Native.Signal.lift2 (::)) (Native.Signal.constant [])
9595 -- fold over non-homogeneous inputs.
9696 -- mergeEither : Signal a -> Signal b -> Signal (Either a b)
9797
98−{-| Count the number of events that have occured. -}
98+{-| Count the number of events that have occurred. -}
9999count : Signal a -> Signal Int
100100count = Native.Signal.count
101101
102−{-| Count the number of events that have occured that satisfy a given predicate.
102+{-| Count the number of events that have occurred that satisfy a given predicate.
103103-}
104104countIf : (a -> Bool) -> Signal a -> Signal Int
105105countIf = Native.Signal.countIf