| I want to make a list that behaves exactly like a list in every way, but it counts how many times it has been mutated by scar/scdr/sref/=. (Or has some other sort of hook on being set.) I know how I would do this in an object-oriented language, but I haven't gotten enough Arc skills yet to figure this out. Is making wrappers for scar / scdr / sref the arcish way to do this? Or is there some less invasive way I am overlooking. |