Add ability to insert/delete elements to collections in MuranoPL
Registered by
Stan Lagun
MuranoPL supports variable assignment but currently there is no way to insert/
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Stan Lagun
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Stan Lagun
I believe that the best solution for MuranoPL would be to have immutable collections.
$a: $a + $b instead of $a.append(): $b. This fits well into overall design and make language cleaner and fits well with functional languages' approach.
So what is needed to implemented is several helper methods in YAQL (head, tail, sublist, except and so on) and remove ability to modify lists using index ($x[0]: 123)
(?)