Merge pull request #6999 from roc-lang/update-plans

Include shadowing in Plans page
This commit is contained in:
Sam Mohr 2024-08-14 14:38:59 -07:00 committed by GitHub
commit 2423ce2272
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,12 @@ Implementing the very important [module params](https://docs.google.com/document
Work has not started on this yet, but we'd like to have the project completed sometime in 2024.
### [Shadowing](#shadowing) {#shadowing}
Shadowing is [currently disallowed](https://www.roc-lang.org/functional#no-reassignment), which means that once a name has been assigned to a value, nothing in the same scope can assign it again.
The plan is to enable shadowing in a future re-write of the [Canonicalization](https://en.wikipedia.org/wiki/Canonicalization) pass as a trial to see if it's a good idea. If it turns out that shadowing isn't the best fit for Roc, we'll remove it as we've done for other experiments, e.g. backpassing.
### Platform Author Specific Breaking Changes
All of the following changes only affect platform authors.