on master help sign in
more typos
bb85131Paul Ivanov
libraries/Basics.elm+1−1
@@ -332,7 +332,7 @@ curry : ((a,b) -> c) -> a -> b -> c
332curry f a b = f (a,b)
332curry f a b = f (a,b)
333
333
334{-| Change how arguments are passed to a function.
334{-| 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.
336-}
336-}
337uncurry : (a -> b -> c) -> (a,b) -> c
337uncurry : (a -> b -> c) -> (a,b) -> c
338uncurry f (a,b) = f a b
338uncurry f (a,b) = f a b
libraries/Signal.elm+2−2
@@ -95,11 +95,11 @@ combine = foldr (Native.Signal.lift2 (::)) (Native.Signal.constant [])
95 -- fold over non-homogeneous inputs.
95 -- fold over non-homogeneous inputs.
96 -- mergeEither : Signal a -> Signal b -> Signal (Either a b)
96 -- mergeEither : Signal a -> Signal b -> Signal (Either a b)
97
97
98−{-| Count the number of events that have occured. -}
98+{-| Count the number of events that have occurred. -}
99count : Signal a -> Signal Int
99count : Signal a -> Signal Int
100count = Native.Signal.count
100count = Native.Signal.count
101
101
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.
103-}
103-}
104countIf : (a -> Bool) -> Signal a -> Signal Int
104countIf : (a -> Bool) -> Signal a -> Signal Int
105countIf = Native.Signal.countIf
105countIf = Native.Signal.countIf