-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
201: Demodal deconstruction r=nikomatsakis a=nikomatsakis I've been coming back to Dada a bit lately as I've been on vacation and had more time for hacking. Looking at it with fresh eyes, I didn't like the direction of having specifiers on local variables (e.g., `my x = ...`) and so I've been revamping it to go back to postfix keywords only. Hence instead of `my x = y` we have... ``` x = y.give ``` ...the big change in this branch is that just writing `x = y` is equivalent to `x = y.share`, and that the `shlease` keyword is removing. Instead, it is called `share`, but if you want to create an "our' value (joinly owned), you have to share a vallue, not a place. e.g., either `x = Point(22, 44).share` or `x = y.give.share`. I'm still in the progress of reworking the tutorial and a few other things to match. I want to work my way towards a sample application. Co-authored-by: Niko Matsakis <[email protected]>
- Loading branch information
Showing
314 changed files
with
2,780 additions
and
4,529 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.