If foo is immutable there is no harm if something else tries to manipulate it because it will just derive a new data-structure.