Add ! and ? to desugaring table

This commit is contained in:
Nathan Kramer 2024-09-30 19:32:18 +10:00
parent be4e3b5983
commit 74639aee80
No known key found for this signature in database
GPG key ID: F067E9F18E762681

View file

@ -2326,6 +2326,8 @@ Here are various Roc expressions involving operators, and what they desugar to.
| `!a` | `Bool.not a` |
| <code>a \|> f</code> | `f a` |
| <code>f a b \|> g x y</code> | `g (f a b) x y` |
| `f!` | `Task.await f` |
| `f?` | `Result.try f` |
</section>
<script type="text/javascript" src="/builtins/search.js" defer></script>