Skip to content

Commit 01643d6

Browse files
authored
Point to point to the "Operators" page in the Elixir docs (elixir-lang#832)
I removed the operator table in the "Basic operators" chapter of the Getting Started guide, which was too detailed for the guide, and replaced it with a pointer to the "Operators" page in the Elixir docs introduced in elixir-lang/elixir#5142.
1 parent 0d0d566 commit 01643d6

File tree

1 file changed

+3
-27
lines changed

1 file changed

+3
-27
lines changed

getting-started/basic-operators.markdown

+3-27
Original file line numberDiff line numberDiff line change
@@ -111,30 +111,6 @@ The reason we can compare different data types is pragmatism. Sorting algorithms
111111

112112
You don't actually need to memorize this ordering, but it is important just to know an order exists.
113113

114-
## Operator table
115-
116-
Although we have learned only a handful of operators so far, we present below the complete operator table for Elixir ordered from higher to lower precedence for reference:
117-
118-
Operator | Associativity
119-
-------- | -------------
120-
`@` | Unary
121-
`.` | Left to right
122-
`+` `-` `!` `^` `not` `~~~` | Unary
123-
`*` `/` | Left to right
124-
`+` `-` | Left to right
125-
`++` `--` `..` `<>` | Right to left
126-
`in` | Left to right
127-
<code>&#124;></code> `<<<` `>>>` `~>>` `<<~` `~>` `<~` `<~>` <code>&lt;&#124;&gt;</code> | Left to right
128-
`<` `>` `<=` `>=` | Left to right
129-
`==` `!=` `=~` `===` `!==` | Left to right
130-
`&&` `&&&` `and` | Left to right
131-
<code>&#124;&#124;</code> <code>&#124;&#124;&#124;</code> `or` | Left to right
132-
`=` | Right to left
133-
`=>` | Right to left
134-
<code>&#124;</code> | Right to left
135-
`::` | Right to left
136-
`when` | Right to left
137-
`<-`, `\\` | Left to right
138-
`&` | Unary
139-
140-
We will learn the majority of those operators as we go through the getting started guide. In the next chapter, we are going to discuss some basic functions, data type conversions and a bit of control-flow.
114+
For reference information about operators, you can visit the ["Operators" page](/docs/master/elixir/operators.html) in the documentation.
115+
116+
In the next chapter, we are going to discuss some basic functions, data type conversions and a bit of control-flow.

0 commit comments

Comments
 (0)