Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. 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.
  2.  
  3. This gist discusses a long conjectured feature that would work nicely with the other proposals:
  4.  
  5. Others include:
  6.  
  7. * [Implicit/explicit mutation in 6.c]().
  8.  
  9. ----
  10.  
  11. In 6.c one can write two methods thus:
  12.  
  13. multi method m (... --> self) {
  14. ...
  15. }
  16. multi method m (... --> SELF) {
  17. ... # body is identical to body of the `--> self` method above.
  18. }
  19.  
  20. This proposal is to support:
  21.  
  22. multi method m (... --> self),
  23. multi method m (... --> SELF) {
  24. ... # body is identical for both method signatures.
  25. }
  26.  
  27. or something similar.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement