Overview
| Artifact ID: | e4a95ed4dcd3b52cfddfb16e00e2b05f0916bb1f |
|---|---|
| Ticket: | 1556802fffffffffffffffffffffffffffffffff
[TIP#274] right associativity for ** operator |
| User & Date: | dgp on 2006-09-12 03:18:39 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
David Smith has observed on the tcl-core mailing list that left associativity of the ** operator proposed by TIP 123 and implemented in current devlopment sources of Tcl is at odds with several other languages and computing environments. Attached is a patch that changes ** to right associativity. Here it is in action: % expr 2**3**4 2417851639229258349412352 I note that there are zero tests in the test suite checking the associativity of **, which I take as evidence that the original left-associative implementation choice wasn't a feature of great importance.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "45. Parsing and Eval"
- title changed to: "right associativity for ** operator"
- type changed to: "Patch"