Pipe operator documentation in manual is broken #597

Closed
opened 2024-12-06 01:26:13 +00:00 by lilyball · 1 comment
Member

Describe the bug

The pipe operator documentation in the manual is broken because the pipe operator is mistaken for markdown table syntax. As it stands now, the table looks like

Name Syntax Associativity Precedence
[Experimental] Function piping expr > func left
[Experimental] Function piping expr < func right

when it should instead look like

Name Syntax Associativity Precedence
[Experimental] Function piping expr |> func left 15
[Experimental] Function piping expr <| func right 16
## Describe the bug The pipe [operator documentation in the manual](https://git.lix.systems/lix-project/lix/src/commit/9dd58224eab3e063daa3ace7d9ef14e43a9b266b/doc/manual/src/language/operators.md) is broken because the pipe operator is mistaken for markdown table syntax. As it stands now, the table looks like | Name | Syntax | Associativity | Precedence | |----------------------------------------|--------------------------------------------|---------------|------------| | … | \[Experimental\] Function piping | *expr* |> *func* | left | 15 | | \[Experimental\] Function piping | *expr* <| *func* | right | 16 | when it should instead look like | Name | Syntax | Associativity | Precedence | |----------------------------------------|--------------------------------------------|---------------|------------| | … | \[Experimental\] Function piping | *expr* `\|>` *func* | left | 15 | | \[Experimental\] Function piping | *expr* `<\|` *func* | right | 16 |
lilyball added the
bug
docs
E/easy
labels 2024-12-06 01:26:31 +00:00
jade self-assigned this 2024-12-06 03:06:33 +00:00
Member

This issue was mentioned on Gerrit on the following CLs:

  • commit message in cl/2285 ("doc: fix broken table in operators list")
<!-- GERRIT_LINKBOT: {"cls": [{"backlink": "https://gerrit.lix.systems/c/lix/+/2285", "number": 2285, "kind": "commit message"}], "cl_meta": {"2285": {"change_title": "doc: fix broken table in operators list"}}} --> This issue was mentioned on Gerrit on the following CLs: * commit message in [cl/2285](https://gerrit.lix.systems/c/lix/+/2285) ("doc: fix broken table in operators list")
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#597
No description provided.