Post `LocalDef` things
Once https://github.com/flix/flix/pull/8669 is merged, the following things still need to happen:
- [ ] Remove
LetRec(or deprecate if we decide to hideLocalDefbehind a feature toggle) - [ ] Update
DocAstto accommodateLocalDef/ turnLetRecintoLocalDef
maybe introduce LocalDefSym and LocalDefSymUse?
maybe introduce
LocalDefSymandLocalDefSymUse?
Not so sure about this. I think this will cause massive code duplication...
I don't think its that bad. They downside currently is that any given ApplyLocalDef can be malformed because its just a varsym and they can be mistaken for eachother
If we try to introduce LocalDefSym then lets keep it in one self-contained small PR.
So now LetRec can be removed, yes?
Yes