Skip to content

Commit

Permalink
Improve docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evhub committed Oct 24, 2024
1 parent b441bb0 commit 24e35a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -541,11 +541,11 @@ f x n/a
+, - left
<<, >> left
& left
&: yes
&: both
^ left
| left
:: yes (lazy)
.. yes
:: both (lazy)
.. both
a `b` c, left (captures lambda)
all custom operators
?? left (short-circuits)
Expand Down Expand Up @@ -680,7 +680,7 @@ print(list(expnums))

### Pipes

Coconut uses pipe operators for pipeline-style function application. All the operators have a precedence in-between function composition pipes and comparisons, and are left-associative. All operators also support in-place versions. The different operators are:
Coconut uses pipe operators for pipeline-style function application. All the operators have a precedence in-between function composition pipes and comparisons, and are left-associative. All operators also support in-place versions (e.g. `|>=`). The different operators are:
```coconut
(|>) => pipe forward
(|*>) => multiple-argument pipe forward
Expand Down

0 comments on commit 24e35a8

Please sign in to comment.