Support a shorthand syntax for match-expressions and other block-based syntax #50

Open
opened 2023-06-12 22:06:52 +02:00 by samvv · 0 comments
samvv commented 2023-06-12 22:06:52 +02:00 (Migrated from github.com)

We'd like to do something like (pseudo-syntax):

let x = match y. True => 1; False => 0
let i = 0; i += 1; print i

After a first look it appears that LineFoldEnd and ; might be made interchangeable, with some tweaks here and there.

We'd like to do something like (pseudo-syntax): ``` let x = match y. True => 1; False => 0 ``` ``` let i = 0; i += 1; print i ``` After a first look it appears that `LineFoldEnd` and `;` might be made interchangeable, with some tweaks here and there.
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#50
No description provided.