-
-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Labels
enhancementNew feature or requestNew feature or requestone dayClosed because we won't work on it soon, will be opened again later.Closed because we won't work on it soon, will be opened again later.
Description
A cell input like:
🍕 = 1
🥞 = 2should not be legal, because it is not a single expression. This might be unexpected (and part of the learning curve) for new users, and we could accept it without breaking the paradigm by:
- Splitting up the expression into two cells.
- Giving the cell two outputs, which are stacked on top of each other with a clear division between them.
A nice hybrid solution is to do the first option, and to design the editor layout in such a way that all cells fluently follow each other. (If code is folded).
Note:
The cell
🍕 = 1; 🥞 = 2which is syntactic sugar for
begin
🍕 = 1
🥞 = 2
endis a single expression, which is not an assignment, but an evaluation that performs two global assignments. Parsing this cell should be legal (as a single expression), but running it might give an error (depending on what we decide to do with globals).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestone dayClosed because we won't work on it soon, will be opened again later.Closed because we won't work on it soon, will be opened again later.