diff --git a/libraries/Basics.elm b/libraries/Basics.elm index ec46fcc..6728978 100644 --- a/libraries/Basics.elm +++ b/libraries/Basics.elm @@ -332,7 +332,7 @@ curry : ((a,b) -> c) -> a -> b -> c curry f a b = f (a,b) {-| Change how arguments are passed to a function. -This combines two arguments into a sigle pair. +This combines two arguments into a single pair. -} uncurry : (a -> b -> c) -> (a,b) -> c uncurry f (a,b) = f a b \ No newline at end of file diff --git a/libraries/Graphics/Element.elm b/libraries/Graphics/Element.elm index 92b12cf..4430bdd 100644 --- a/libraries/Graphics/Element.elm +++ b/libraries/Graphics/Element.elm @@ -108,7 +108,7 @@ color c e = let p = e.props in {-| Create an `Element` with a tag. This lets you link directly to it. The element `(tag "all-about-badgers" thirdParagraph)` can be reached -with a link lik this: `/facts-about-animals.elm#all-about-badgers` +with a link like this: `/facts-about-animals.elm#all-about-badgers` -} tag : String -> Element -> Element tag name e = let p = e.props in diff --git a/libraries/Graphics/Input.elm b/libraries/Graphics/Input.elm index b0bfe01..7067246 100644 --- a/libraries/Graphics/Input.elm +++ b/libraries/Graphics/Input.elm @@ -113,7 +113,7 @@ hoverables : a -> { events : Signal a, hoverable : (Bool -> a) -> Element -> Element } hoverables = Native.Graphics.Input.hoverables -{-| Detect when the mouse is hovering over a specifici `Element`. -} +{-| Detect when the mouse is hovering over a specific `Element`. -} hoverable : Element -> (Element, Signal Bool) hoverable elem = let pool = hoverables False diff --git a/libraries/Signal.elm b/libraries/Signal.elm index d5882d2..a3c057b 100644 --- a/libraries/Signal.elm +++ b/libraries/Signal.elm @@ -3,7 +3,7 @@ module Signal where `lift8` and infix lift operators `<~` and `~`, combinations, filters, and past-dependence. -Signals are time-varying values. Lifted functions are reevaluated whenver any of +Signals are time-varying values. Lifted functions are reevaluated whenever any of their input signals has an event. Signal events may be of the same value as the previous value of the signal. Such signals are useful for timing and past-dependence. @@ -95,11 +95,11 @@ combine = foldr (Native.Signal.lift2 (::)) (Native.Signal.constant []) -- fold over non-homogeneous inputs. -- mergeEither : Signal a -> Signal b -> Signal (Either a b) -{-| Count the number of events that have occured. -} +{-| Count the number of events that have occurred. -} count : Signal a -> Signal Int count = Native.Signal.count -{-| Count the number of events that have occured that satisfy a given predicate. +{-| Count the number of events that have occurred that satisfy a given predicate. -} countIf : (a -> Bool) -> Signal a -> Signal Int countIf = Native.Signal.countIf