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

Correct multiple spelling mistakes #1121

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Array.elm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ import Tuple


{-| The array in this module is implemented as a tree with a high branching
factor (number of elements at each level). In comparision, the `Dict` has
factor (number of elements at each level). In comparison, the `Dict` has
a branching factor of 2 (left or right).

The higher the branching factor, the more elements are stored at each level.
Expand Down Expand Up @@ -86,7 +86,7 @@ any given level of the tree, we need to shift (or move) the correct amount of
bits so that those bits are at the front. We can then perform a bitwise and to
read which of the 32 branches to take.

The `shiftStep` specifices how many bits are required to represent the branching
The `shiftStep` specifies how many bits are required to represent the branching
factor.
-}
shiftStep : Int
Expand Down
2 changes: 1 addition & 1 deletion src/Elm/JsArray.elm
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ length =
Elm.Kernel.JsArray.length


{-| Initialize an array. `initalize n offset fn` creates an array of length `n`
{-| Initialize an array. `initialize n offset fn` creates an array of length `n`
with the element at index `i` initialized to the result of `(f (i + offset))`.

The offset parameter is there so one can avoid creating a closure for this use
Expand Down
2 changes: 1 addition & 1 deletion src/String.elm
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ characters with different widths.

[u]: https://en.wikipedia.org/wiki/Unicode

**Note:** JavaScript lets you use double quotes and single quotes interchangably.
**Note:** JavaScript lets you use double quotes and single quotes interchangeably.
This is not true in Elm. You must use double quotes for a `String`, and you must
use single quotes for a [`Char`](Char#Char).
-}
Expand Down