You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: language/Syntax.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -451,6 +451,12 @@ Operator sections also work for functions used this way:
451
451
fooBy2 = (_ `foo` 2)
452
452
```
453
453
454
+
Infix operators created using backticks are left associative with the highest precedence.
455
+
456
+
```purescript
457
+
result = 1 `add` 2 * 3 -- == 9
458
+
```
459
+
454
460
## Case expressions
455
461
456
462
The `case` and `of` keywords are used to deconstruct values to create logic based on the value's constructors. You can match on multiple values by delimiting them with `,` in the head and cases.
0 commit comments