on master help sign in
more typos
commitbb851314abe7cfc830041e63748c266ff39fbd98 authorPaul Ivanov <pi@berkeley.edu> dateTue 17 Dec 2013, 15:44 (13 years ago) parent70e8618
2 files changed+3−3
libraries/Basics.elm+1−1 libraries/Signal.elm+2−2
libraries/Basics.elm+1−1
@@ -332,7 +332,7 @@ curry : ((a,b) -> c) -> a -> b -> c
332332curry f a b = f (a,b)
333333
334334{-| Change how arguments are passed to a function.
335−This combines two arguments into a sigle pair.
335+This combines two arguments into a single pair.
336336-}
337337uncurry : (a -> b -> c) -> (a,b) -> c
338338uncurry f (a,b) = f a b
libraries/Signal.elm+2−2
@@ -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