on master help sign in
Merge pull request #391 from ivanov/typos

Typos

commit37afd0d6a5eed3d2a210e82e667a8b5ba08f796a authorEvan Czaplicki <info@elm-lang.org> dateTue 17 Dec 2013, 15:47 (13 years ago) parent123fb94b77fd96
4 files changed+6−6
libraries/Basics.elm+1−1 libraries/Graphics/Element.elm+1−1 libraries/Graphics/Input.elm+1−1 libraries/Signal.elm+3−3
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/Graphics/Element.elm+1−1
@@ -108,7 +108,7 @@ color c e = let p = e.props in
108108
109109{-| Create an `Element` with a tag. This lets you link directly to it.
110110The element `(tag "all-about-badgers" thirdParagraph)` can be reached
111−with a link lik this: `/facts-about-animals.elm#all-about-badgers`
111+with a link like this: `/facts-about-animals.elm#all-about-badgers`
112112-}
113113tag : String -> Element -> Element
114114tag name e = let p = e.props in
libraries/Graphics/Input.elm+1−1
@@ -113,7 +113,7 @@ hoverables : a -> { events : Signal a,
113113 hoverable : (Bool -> a) -> Element -> Element }
114114hoverables = Native.Graphics.Input.hoverables
115115
116−{-| Detect when the mouse is hovering over a specifici `Element`. -}
116+{-| Detect when the mouse is hovering over a specific `Element`. -}
117117hoverable : Element -> (Element, Signal Bool)
118118hoverable elem =
119119 let pool = hoverables False
libraries/Signal.elm+3−3
@@ -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