From b79363ae238639a1ddf75c5f9789650390a56916 Mon Sep 17 00:00:00 2001 From: Ashton Wiersdorf Date: Tue, 1 Jan 2019 21:30:11 -0700 Subject: [PATCH] Add a semicolon, remove Oxford comma Line 81 had an [Oxford comma](https://en.wikipedia.org/wiki/Serial_comma), but the rest of the document does not use Oxford commas. The comma on line 112 would be better with a semicolon: it's delimiting two related clauses that *could* stand on their own and so should be connected with a semicolon rather than a comma. --- getting-started/basic-operators.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/getting-started/basic-operators.markdown b/getting-started/basic-operators.markdown index 7df115ba8..533977cc4 100644 --- a/getting-started/basic-operators.markdown +++ b/getting-started/basic-operators.markdown @@ -78,7 +78,7 @@ true As a rule of thumb, use `and`, `or` and `not` when you are expecting booleans. If any of the arguments are non-boolean, use `&&`, `||` and `!`. -Elixir also provides `==`, `!=`, `===`, `!==`, `<=`, `>=`, `<`, and `>` as comparison operators: +Elixir also provides `==`, `!=`, `===`, `!==`, `<=`, `>=`, `<` and `>` as comparison operators: ```iex iex> 1 == 1 @@ -109,7 +109,7 @@ The reason we can compare different data types is pragmatism. Sorting algorithms number < atom < reference < function < port < pid < tuple < map < list < bitstring -You don't actually need to memorize this ordering, it's enough to know that this ordering exists. +You don't actually need to memorize this ordering; it's enough to know that this ordering exists. For reference information about operators (and ordering), check the [reference page on operators](https://hexdocs.pm/elixir/operators.html).