Timeline for Leave expression tree formatting the same when a replacement rule is applied
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 9, 2012 at 2:22 | comment | added | SixWingedSeraph | In the previous comment I should have said "The leftmost Times should have been changed to 9. | |
Jun 8, 2012 at 16:02 | comment | added | SixWingedSeraph | The various solutions are helpful, but what I want is for "TreeForm's formatting to keep the nodes in the same location after the transformation". In other words, the leftmost "Times" would be replaced by "3" but all the nodes would be in the same location. (What I really want is also to delete the left two leaves which now contain "3", so that the tree undergoes a one-step evaluation after 3 is substituted to x but with the nodes that are left (i.e. all the nodes except the left two leaves) in the same place on the screen. But I did not ask for that.) | |
Jun 8, 2012 at 8:03 | comment | added | Mr.Wizard | That looks familiar. :^) | |
Jun 8, 2012 at 4:10 | comment | added | halirutan | Nice one... +1. | |
Jun 7, 2012 at 23:18 | history | answered | Rojo | CC BY-SA 3.0 |