Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is one of several gists I've written that relate to several distinct tentative proposals for 6.d that make sense both independently and together.
- This gist discusses a long conjectured feature that would work nicely with the other proposals:
- Others include:
- * [Implicit/explicit mutation in 6.c]().
- ----
- In 6.c one can write two methods thus:
- multi method m (... --> self) {
- ...
- }
- multi method m (... --> SELF) {
- ... # body is identical to body of the `--> self` method above.
- }
- This proposal is to support:
- multi method m (... --> self),
- multi method m (... --> SELF) {
- ... # body is identical for both method signatures.
- }
- or something similar.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement