Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

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 getting-started/basic-operators.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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).

Expand Down