mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-19 01:01:59 +03:00
Update docs/source/reference/operators.rst
This commit is contained in:
parent
c6fbd27c6c
commit
bcb225568a
@ -47,7 +47,7 @@ brackets are mandatory. Here, we chose for ``+`` to be left-associative, hence `
|
|||||||
|
|
||||||
The number after the fixity indicate the *precedence level* of the operator, that is, if it should
|
The number after the fixity indicate the *precedence level* of the operator, that is, if it should
|
||||||
be bracketed before, or after, other operators used in the same expression. For example,
|
be bracketed before, or after, other operators used in the same expression. For example,
|
||||||
we want ``*`` to *take precedence* over ``+`` , because of this, we define it like this:
|
we want ``*`` to *take precedence* over ``+`` we write:
|
||||||
|
|
||||||
.. code-block:: idris
|
.. code-block:: idris
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user