diff --git a/editor/cm/addon/edit/matchbrackets.js b/editor/cm/addon/edit/matchbrackets.js index 6ca215ee..24e3bfc4 100644 --- a/editor/cm/addon/edit/matchbrackets.js +++ b/editor/cm/addon/edit/matchbrackets.js @@ -94,7 +94,7 @@ if (marks.length) { // Kludge to work around the IE bug from issue #1193, where text - // input stops going to the textare whever this fires. + // input stops going to the textarea whenever this fires. if (ie_lt8 && cm.state.focused) cm.focus(); var clear = function() { diff --git a/pages/docs/from-javascript.elm b/pages/docs/from-javascript.elm index b29cfa16..86e31056 100644 --- a/pages/docs/from-javascript.elm +++ b/pages/docs/from-javascript.elm @@ -30,13 +30,13 @@ minor syntactic difference. syntaxTable : String -> List (Value, Value) -> Html msg -syntaxTable subtitle comparisions = +syntaxTable subtitle comparisons = div (Center.styles "800px") [ h2 [] [text subtitle] , div [class "comparison"] [ table [] - [ tbody [] (header :: List.map row comparisions) + [ tbody [] (header :: List.map row comparisons) ] ] , br [] [] diff --git a/pages/home.elm b/pages/home.elm index 16dab663..8b725eb6 100644 --- a/pages/home.elm +++ b/pages/home.elm @@ -780,7 +780,7 @@ grouped = , Link "Examples" "/examples" , Link "Try online" "/try" , Link "Syntax" "/docs/syntax" - , Link "From Javascript?" "/docs/from-javascript" + , Link "From JavaScript?" "/docs/from-javascript" , Link "FAQ" "http://faq.elm-community.org/" , Link "Advanced Topics" "/docs/advanced-topics" -- , Link "Limitations" TODO diff --git a/pages/news/0.10.1.elm b/pages/news/0.10.1.elm index 47a97de8..09a167d9 100644 --- a/pages/news/0.10.1.elm +++ b/pages/news/0.10.1.elm @@ -117,7 +117,7 @@ expressions](http://www.amazon.com/Introduction-Theory-Computation-Michael-Sipse * Errors for duplicate constructors in Algebraic Data Types (Thanks to Ben Darwin) * Fix silly String API errors (Thanks to [Tim Hobbs](https://github.com/timthelion)) * The `--print-types` flag works every time (Thanks to [Justin Leitgeb](https://github.com/jsl)) -* Warnings for corrupted and incompatable intermediate files (Thanks again to Justin +* Warnings for corrupted and incompatible intermediate files (Thanks again to Justin Leitgeb who made persuasive arguments and collected data when I was being frustratingly conservative.) diff --git a/pages/news/0.10.elm b/pages/news/0.10.elm index ba59ff1a..f8bc2fb0 100644 --- a/pages/news/0.10.elm +++ b/pages/news/0.10.elm @@ -149,7 +149,7 @@ falseRight = True || (False || False) ``` Where you add the parentheses *does not* change the result, -but since `(||)` [short ciruits](http://en.wikipedia.org/wiki/Short-circuit_evaluation), +but since `(||)` [short circuits](http://en.wikipedia.org/wiki/Short-circuit_evaluation), it *does* change how much computation needs to be done. Making `(||)` right associative ensures that we use the faster way when parentheses are left off. diff --git a/pages/news/0.11.elm b/pages/news/0.11.elm index af7746a0..2cbc3910 100644 --- a/pages/news/0.11.elm +++ b/pages/news/0.11.elm @@ -171,7 +171,7 @@ communicate between Elm and JS. The two biggest inspirations for ports were: The key abstraction from Concurrent ML is the *channels* which allow messages to be passed between components that run concurrently know nothing about each other (similar to Go and Erlang). I cannot say enough good things about this style of - programming. Message-passing is the essense of ports and the component model, + programming. Message-passing is the essence of ports and the component model, and I really hope it becomes more known and accepted in the JS community. * **Flow-based Programming**: I was mostly inspired by the strong visual language diff --git a/pages/news/0.12.elm b/pages/news/0.12.elm index f0bcddf5..295b4194 100644 --- a/pages/news/0.12.elm +++ b/pages/news/0.12.elm @@ -160,13 +160,13 @@ module into local scope you use this syntax: import List (..) ``` -The `open` syntax did not look great. It was indended to discourage importing +The `open` syntax did not look great. It was intended to discourage importing everything into local scope by imposing a “syntactic tax”. People don't want ugly code! Ultimately the idea of a “syntactic tax” did not feel like a successful experiment. So there is nicer syntax, but this is still the least prefered way to import of -[the four possiblities](/docs/syntax#modules). It is convenient for quickly +[the four possibilities](/docs/syntax#modules). It is convenient for quickly prototyping or hacking something together, but it does not scale well. Imagine you do [26 imports like this][imports], bringing tons of functions into local scope. When I want to find the definition of [`isFunPtrTy`][function] I have no diff --git a/pages/news/0.13.elm b/pages/news/0.13.elm index c0853892..a2bb445b 100644 --- a/pages/news/0.13.elm +++ b/pages/news/0.13.elm @@ -202,7 +202,7 @@ parser that is extremely fast, standards compliant, and light-weight. ## Thank you -Huge thank you to [Michael B. James][michael] and [Andrew Shulayev][andrew] who +Huge thank you to [Michael B. James][michael] and [Andrew Shulaev][andrew] who joined the Elm team as interns this summer! The major parts of their projects will be coming out in the following days and weeks, but some improvements can already be announced. Thanks to Michael for figuring out how to build the diff --git a/pages/news/0.14.elm b/pages/news/0.14.elm index d549ff55..f402bf45 100644 --- a/pages/news/0.14.elm +++ b/pages/news/0.14.elm @@ -394,7 +394,7 @@ planned that builds on top of this foundation. I think we are headed in a good direction, so I will write more about the vision for `elm-package` in a future blog post. -Big thanks to [Andrew Shulayev](https://github.com/ddrone) who did the first +Big thanks to [Andrew Shulaev](https://github.com/ddrone) who did the first iteration of the most important `elm-package` features during his summer internship. And huge thanks to Prezi for making this internship possible! diff --git a/pages/news/0.4.elm b/pages/news/0.4.elm index 7380f194..204a2cac 100644 --- a/pages/news/0.4.elm +++ b/pages/news/0.4.elm @@ -215,7 +215,7 @@ images : Signal String -> Signal Element ``` The old `image src` is almost the same as `images (constant src)`, but -instead of yeilding an `Element`, the new version produces `Signal Element`. +instead of yielding an `Element`, the new version produces `Signal Element`. This is actually the correct API because it captures the fact that the image loads asynchronously. diff --git a/pages/news/0.5.elm b/pages/news/0.5.elm index 13740374..f4002ff8 100644 --- a/pages/news/0.5.elm +++ b/pages/news/0.5.elm @@ -43,7 +43,7 @@ This library is based on the very clever ideas introduced by [Arrowized FRP][afr I have made an effort to make it easier to understand and use for people unfamiliar with “Arrows” and other concepts that are largely orthogonal to doing-things-in-real-life. I am hoping that the term [“automaton”][wiki] is somewhat familiar (or at least -a better anology than “arrow”). Huge thanks to Joey Adams for suggesting this library +a better analogy than “arrow”). Huge thanks to Joey Adams for suggesting this library and working through the details with me! I plan on writing some blog posts on automatons, so hopefully that will make it clearer why they diff --git a/pages/news/0.7.1.elm b/pages/news/0.7.1.elm index 80ddb62e..a699283e 100644 --- a/pages/news/0.7.1.elm +++ b/pages/news/0.7.1.elm @@ -18,7 +18,7 @@ the recently added [extensible records][recs] and partly an effort to make Elm a better choice for mobile devices. This version: - introduces the [`Keyboard`][keys], [`Touch`][touch], and [`Either`][either] libraries -- make names more consistent and easier to remember accross libraries +- make names more consistent and easier to remember across libraries - fixes a couple bizarre bugs Touch is a brand new addition to Elm, and as far as I know, brand diff --git a/pages/news/0.8.elm b/pages/news/0.8.elm index dfefcef3..b6b1f2cf 100644 --- a/pages/news/0.8.elm +++ b/pages/news/0.8.elm @@ -98,7 +98,7 @@ type” and `(::)` is cons. This is how it is in SML, OCaml, Coq, and Agda. Given the relative frequency of type annotations, it makes sense to give types a lighter syntax. -You can also add type aliases. This lets you give nice consise names +You can also add type aliases. This lets you give nice concise names for larger types. This is most useful for records: ```elm @@ -232,7 +232,7 @@ content3 = """ ```elm -- Create two rectangles that cross at the origin. We use --- the group function to flatten them into a signle Form. +-- the group function to flatten them into a single Form. twoRects : Color -> Form twoRects colr = group (List.map (filled colr) [ rect 8 30, rect 30 8 ]) @@ -359,7 +359,7 @@ list](groups.google.com/forum/?fromgroups#!forum/elm-discuss). You can also work with websockets via the [`WebSocket` library](http://package.elm-lang.org/packages/elm-lang/core/1.0.0/WebSocket). -This API may change to accomadate more usage scenarios. Please let me +This API may change to accommodate more usage scenarios. Please let me know how you want to use it! #### Application Operators diff --git a/pages/news/0.9.elm b/pages/news/0.9.elm index 936042fc..ff914b12 100644 --- a/pages/news/0.9.elm +++ b/pages/news/0.9.elm @@ -98,7 +98,7 @@ for infix operators, so that should be arriving in a future release. #### Notes on the Type Checker With this build infrastructure in place, cross-module type checking became -possible. The next task was understand and implement an efficienct type inference +possible. The next task was understand and implement an efficient type inference algorithm. To summarize, it is very tricky and there are few resources available that even diff --git a/pages/news/interactive-programming.elm b/pages/news/interactive-programming.elm index 0c55cd74..70d468a1 100644 --- a/pages/news/interactive-programming.elm +++ b/pages/news/interactive-programming.elm @@ -139,7 +139,7 @@ that *does* exist. This is not Interactive Programming, this is a buggy IDE. To make hot-swapping reliable, we must know when programs are incompatible. The more precise we can be, the more reliable hot-swapping can be. -There are two major categories of incompatibilies: +There are two major categories of incompatibilities: * **The API has changed.** If the types of the arguments to a function change, it is no longer compatible with the rest of the program. diff --git a/pages/news/making-pong.elm b/pages/news/making-pong.elm index 34ff957d..be653e83 100644 --- a/pages/news/making-pong.elm +++ b/pages/news/making-pong.elm @@ -232,7 +232,7 @@ Our `Game` data structure holds all of the information needed to represent the game at any moment. In this section we will define a *step function* that steps from `Game` to `Game`, moving the game forward as new inputs come in. -To make our step function more managable, we can break it up into smaller +To make our step function more manageable, we can break it up into smaller functions. This next chunk of code defines some not-so-interesting helper functions: `near` and `within` for detecting collisions and `stepV` for safely stepping velocity. @@ -432,7 +432,7 @@ learn more about making games in Elm, try tackling some of these challenges: * Add the ability to reset the game (besides refreshing the page!) - * Make ball collisions more complicated. Possiblities: + * Make ball collisions more complicated. Possibilities: * When the ball hits the corner of a paddle, it changes direction. diff --git a/pages/news/package-manager.elm b/pages/news/package-manager.elm index 703d1886..05a39ff9 100644 --- a/pages/news/package-manager.elm +++ b/pages/news/package-manager.elm @@ -47,7 +47,7 @@ roots as languages like Haskell and Elm. OCaml strongly encourages a purely functional style but has easy-to-use safety valves for ducking into imperative or object-oriented styles when necessary. It's very similar to the formula that has made Scala attractive for JVM users. So why is Haskell—a -more ideologicly extreme language—gaining more traction these days? +more ideologically extreme language—gaining more traction these days? I think the primary factor is that [until 2013](http://opam.ocaml.org/), OCaml did not have a way to share libraries. User would inevitably face