How do I report a modified list without modifying the list

Here is a tutorial that goes into detail about how this works: Common pitfalls when working with lists (and how to avoid them)