Skip to content

Commit 6660d62

Browse files
authored
Remove parens to distinguish operators.
1 parent a193a62 commit 6660d62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Lists are represented using [nested tuple syntax `(/\)`](https://pursuit.purescr
1515

1616
### Tuples
1717

18-
With [`Data.Tuple.Tuple`](https://pursuit.purescript.org/packages/purescript-tuples/docs/Data.Tuple#t:Tuple) reserved for lists, a new data type [`Pair`](../search?q=data+Pair) represents tuples, such as the vertical and horizontal values in `padding` shorthand (`padding := px 4 ~ px 8`). The `(~)` operator should be used in lieu of the `Pair` constructor and works the same as [`(/\)`](https://pursuit.purescript.org/packages/purescript-tuples/docs/Data.Tuple.Nested#v:(/\\)) does in other contexts.
18+
With [`Data.Tuple.Tuple`](https://pursuit.purescript.org/packages/purescript-tuples/docs/Data.Tuple#t:Tuple) reserved for lists, a new data type [`Pair`](../search?q=data+Pair) represents tuples, such as the vertical and horizontal values in `padding` shorthand (`padding := px 4 ~ px 8`). The `~` operator should be used in lieu of the `Pair` constructor and works the same as [`/\`](https://pursuit.purescript.org/packages/purescript-tuples/docs/Data.Tuple.Nested#v:(/\\)) does in other contexts.
1919

2020
### Declarations
2121

0 commit comments

Comments
 (0)