Make it easier to nest match-expressions #46

Closed
opened 2023-06-02 20:32:01 +02:00 by samvv · 0 comments
samvv commented 2023-06-02 20:32:01 +02:00 (Migrated from github.com)

Due to the way Punctuator works, the following is not possible:

(match True.
  False => 0
  True => 1).to_string

The parser will always throw an error on ), expecting a LineFoldEnd but not getting it.

Due to the way `Punctuator` works, the following is not possible: ``` (match True. False => 0 True => 1).to_string ``` The parser will always throw an error on `)`, expecting a `LineFoldEnd` but not getting it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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: samvv/bolt#46
No description provided.