-
Notifications
You must be signed in to change notification settings - Fork 36
Description
This is a bit of a drive-by comment, but I've so far failed to wrap my head around how we use
VarNames as keys in containers. I feel like sometimes we usesubsumes, sometimes we don't, and maybe sometimes we also do some ad hoc half way thing. This is complicated further by having e.g. multiple backend storage structures for(Simple)VarInfo, and having getters and setters for them defined in a few different places (#654). Having to do string representations with Chains is also a big contributor to confusion.
I don't really have a proposal for how to change this, but for many cases like your above
hasvalueexamples it is not clear to me what I should expect to happen. A more systematic approach, with [mumblemumble interfacesomething design doc mumblemumble] might help solidify this.
Originally posted by @mhauru in #710 (comment)
Opened an issue here @mhauru to avoid cluttering the PR. I'll reply in comments.