Timeline for Leave expression tree formatting the same when a replacement rule is applied
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 8, 2012 at 14:52 | comment | added | Daniel Lichtblau | @halirutan I gave Rojo's an upvote. I would have for yours as well, were it not deleted. Unevaluated is a tricky beast, because one does not have control over when those might get stripped in internal code. As for "exactly" the same structure, yours came quite close and the question left unstated whether renaming, or an extra "wrapper" level, might be acceptable. (Absent such guidance, the appropriate assumption is perhaps that neither is acceptable. But it seems sensible to offer possibilities slightly outside the scope of specification in such cases.) | |
Jun 8, 2012 at 4:08 | comment | added | halirutan |
I liked the response too ;-) but since the question was to get exactly the same structure I deleted it. I tried first something else with Unevaluated and didn't understand why this did not work. It seems Rojo has the answer.
|
|
Jun 7, 2012 at 21:12 | comment | added | Michael Wijaya |
I had to look up Release on the documentation. Old habits die hard?
|
|
Jun 7, 2012 at 18:00 | history | answered | Daniel Lichtblau | CC BY-SA 3.0 |