Reading the code, saveimage function is keeping more than the form it got as an argument, it also saves GlobalEnv and tee.
I have two questions:
- why is GlobalEnv required? I understand that in the general case, the form might use a predefined var, but if it’s not the case is a waste of precious space
- what is tee and what it is used for?