Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling #880

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
2 changes: 1 addition & 1 deletion editor/cm/addon/edit/matchbrackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions pages/docs/from-javascript.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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 [] []
Expand Down
2 changes: 1 addition & 1 deletion pages/home.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brand

, Link "FAQ" "http://faq.elm-community.org/"
, Link "Advanced Topics" "/docs/advanced-topics"
-- , Link "Limitations" TODO
Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.10.1.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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.)

Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.10.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.11.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions pages/news/0.12.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.13.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name

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
Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.14.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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!

Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.4.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.5.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.7.1.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions pages/news/0.8.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ])
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pages/news/0.9.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pages/news/interactive-programming.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions pages/news/making-pong.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion pages/news/package-manager.elm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down