Overview
Artifact ID: | 024c68e856270f5418cfa3a709ffb76abce8bf31 |
---|---|
Ticket: | f9c3463120117afc9c86cbfe2d57da81dbc942e4
Proposal syntax for list |
User & Date: | anonymous 2016-08-29 19:39:03 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
This is a proposal of a change in Tcl syntax: When I want to create a big datastructure (with lists or dicts), I like to write the code in serveral lines for clarity. The problem with this expression: [comand_name arg0 arg1 arg2...] is that backslash are necessary if I want to write that expression in several lines. It's a little bit cumbersome: set big_data_strucutre [dict \ key1 value1 \ key2 value2 \ key3 [list item1 item2 item3] \ key4 value4 \ key5 [list item1 [list item21 item22]] \ key6 value6] Maybe it's better to make backslash optional inside square brackets (similar to braces). It's more clear and it's not necessary to type so much: set big_data_strucutre [dict key1 value1 key2 value2 key3 [list item1 item2 item3] key4 value4 key5 [list item1 [list item21 item22]] key6 value6]
- foundin changed to: "8.6"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "1c4b6cdb98c9dfc4d1e74018f3f4efa00ad217e2"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Proposal syntax for list"
- type changed to: "RFE"