[go: nahoru, domu]

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

Post-merge fixes #3130

Merged
merged 5 commits into from
Nov 1, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Prettier.
  • Loading branch information
mwu-tow committed Nov 1, 2021
commit 06dc9a9741639a4a4de7c9049916307a47c603a6
5 changes: 5 additions & 0 deletions docs/syntax/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ This means that you can section them, which is incredibly useful for programming
with types. In addition, Enso supports a number of additional operators for
working with types. These are listed below.

<!-- For some reason prettier breaks the table below. -->
<!-- prettier-ignore-start -->

| Operator | Precedence Relations | Level | Assoc. | Description |
| :------: | :--------------------------: | :---: | :----: | :-------------------------------------------------------------------------- |
| `:` | `> =` | 0 | Left | Ascribes the type (the right operand) to the value of the left operand. |
Expand All @@ -87,6 +90,8 @@ working with types. These are listed below.
| `\` | `> &` | 7 | Left | Computes the subtraction of the right typeset from the left typeset. |
| `:=` | `< :`, `> =`, `> ;` | -1 | Left | Creates a typeset member by assigning a value to a label. |

<!-- prettier-ignore-end -->

Solving this set of inequalities produces the _relative_ precedence levels for
these operators shown in the table above. In order to check this, you can use
the following formula as an input to an SMTLib compatible solver. For reference,
Expand Down