Created
February 26, 2023 15:34
-
-
Save Whateverable/0753c65624281e705a5159c86054b886 to your computer and use it in GitHub Desktop.
Whateverable
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
2023-02-26T04:42:26Z #raku <guifa_> rf: the thing is that by having has &.bar with the . twigil, raku sets up an automatic accessor method, equivalent to `method bar ( &!bar )`. If you call $foo.bar(123), you're really passing (123) to that method, rather than to the result of the method |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment