From 1aeb2aa32e035c98a6c017dea8c24c74b5330af6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:01 -0400 Subject: [PATCH 01/20] spelling: accommodate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.8.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.8.elm b/pages/news/0.8.elm index dfefcef31..83ad74139 100644 --- a/pages/news/0.8.elm +++ b/pages/news/0.8.elm @@ -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 From 81b8021737d27ff3fb86b03d99f5048ad19c4084 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:03:05 -0400 Subject: [PATCH 02/20] spelling: across Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.7.1.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.7.1.elm b/pages/news/0.7.1.elm index 80ddb62ef..a699283eb 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 From 798248dce464a5b249b80124619ee7e8186af57d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:02 -0400 Subject: [PATCH 03/20] spelling: analogy Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.5.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.5.elm b/pages/news/0.5.elm index 13740374d..f4002ff84 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 From c033cb83f78a0f49a4659d2f4e9ce083f3adcfd5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:02 -0400 Subject: [PATCH 04/20] spelling: circuits Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.10.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.10.elm b/pages/news/0.10.elm index ba59ff1a7..f8bc2fb0c 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. From 0022a863fef018925a54c97ab4d23729a2c7ac7c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:03 -0400 Subject: [PATCH 05/20] spelling: comparisons Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/docs/from-javascript.elm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/docs/from-javascript.elm b/pages/docs/from-javascript.elm index b29cfa16b..86e310562 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 [] [] From a9b9dea49ddbfb683be6f09141648abf1b7e57f7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:03 -0400 Subject: [PATCH 06/20] spelling: concise Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.8.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.8.elm b/pages/news/0.8.elm index 83ad74139..d0e118aee 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 From ba45715c678341d5101df4d463e41a643867f4a1 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:04 -0400 Subject: [PATCH 07/20] spelling: efficient Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.9.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.9.elm b/pages/news/0.9.elm index 936042fc1..ff914b120 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 From eded7199035d1b443758b70e27b9109d983d3ca6 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:04 -0400 Subject: [PATCH 08/20] spelling: essence Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.11.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.11.elm b/pages/news/0.11.elm index af7746a05..2cbc39108 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 From 820a0c975c3e67a8bf6ab94d75b0d589f10ceb35 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:05 -0400 Subject: [PATCH 09/20] spelling: ideologically Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/package-manager.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/package-manager.elm b/pages/news/package-manager.elm index 703d18868..05a39ff90 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 From 478b7dceea3f40bccc5fe1c463b5d7e8ce392a04 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:05 -0400 Subject: [PATCH 10/20] spelling: incompatibilities Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/interactive-programming.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/interactive-programming.elm b/pages/news/interactive-programming.elm index 0c55cd743..70d468a1c 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. From 626aa76ee696a0b1d8613dddae36282373310c34 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:05 -0400 Subject: [PATCH 11/20] spelling: incompatible Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.10.1.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.10.1.elm b/pages/news/0.10.1.elm index 47a97de8f..09a167d90 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.) From 26cf41f3aa5c96d03ea00775bb40be1b585a6376 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:06 -0400 Subject: [PATCH 12/20] spelling: intended Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.12.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.12.elm b/pages/news/0.12.elm index f0bcddf51..df29a4d0c 100644 --- a/pages/news/0.12.elm +++ b/pages/news/0.12.elm @@ -160,7 +160,7 @@ 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. From 4586951b7186c3b36df8071f609d7eef0f7f6a0f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 02:39:06 -0400 Subject: [PATCH 13/20] spelling: javascript Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/home.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/home.elm b/pages/home.elm index 16dab663b..8b725eb60 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 From 93789daa922bf6631328b5a05d5a8cbe065795f4 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:06 -0400 Subject: [PATCH 14/20] spelling: manageable Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/making-pong.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/making-pong.elm b/pages/news/making-pong.elm index 34ff957d3..5bf3f4cda 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. From da53a52aeb54b3c292d8dbfa4a0e57d7e666c8e5 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:07 -0400 Subject: [PATCH 15/20] spelling: possibilities Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.12.elm | 2 +- pages/news/making-pong.elm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/news/0.12.elm b/pages/news/0.12.elm index df29a4d0c..295b41946 100644 --- a/pages/news/0.12.elm +++ b/pages/news/0.12.elm @@ -166,7 +166,7 @@ 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/making-pong.elm b/pages/news/making-pong.elm index 5bf3f4cda..be653e83d 100644 --- a/pages/news/making-pong.elm +++ b/pages/news/making-pong.elm @@ -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. From 9795ed82df45516b69a939813ff3606928e93b5e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:07 -0400 Subject: [PATCH 16/20] spelling: shulaev Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.13.elm | 2 +- pages/news/0.14.elm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/news/0.13.elm b/pages/news/0.13.elm index c08538920..a2bb445bb 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 d549ff551..f402bf459 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! From fc02fab848af136011c511977680fb3e46e2c393 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:07 -0400 Subject: [PATCH 17/20] spelling: single Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.8.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.8.elm b/pages/news/0.8.elm index d0e118aee..b6b1f2cf7 100644 --- a/pages/news/0.8.elm +++ b/pages/news/0.8.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 ]) From a42fd893c111e53cac47483891076da12895cac8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:08 -0400 Subject: [PATCH 18/20] spelling: textarea Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- editor/cm/addon/edit/matchbrackets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/cm/addon/edit/matchbrackets.js b/editor/cm/addon/edit/matchbrackets.js index 6ca215eec..b91f0ac8c 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 whever this fires. if (ie_lt8 && cm.state.focused) cm.focus(); var clear = function() { From 8f659d1f4266fe70b0c547b3165c37fcc0f52f56 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:08 -0400 Subject: [PATCH 19/20] spelling: whenever Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- editor/cm/addon/edit/matchbrackets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/cm/addon/edit/matchbrackets.js b/editor/cm/addon/edit/matchbrackets.js index b91f0ac8c..24e3bfc4a 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 textarea whever this fires. + // input stops going to the textarea whenever this fires. if (ie_lt8 && cm.state.focused) cm.focus(); var clear = function() { From 9b0eb8dc71b63bc2ac82d51c05845326fe35ac6c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 28 Jul 2022 09:02:09 -0400 Subject: [PATCH 20/20] spelling: yielding Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- pages/news/0.4.elm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/news/0.4.elm b/pages/news/0.4.elm index 7380f1941..204a2cace 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.