Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 26, 2023 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/0753c65624281e705a5159c86054b886 to your computer and use it in GitHub Desktop.
Save Whateverable/0753c65624281e705a5159c86054b886 to your computer and use it in GitHub Desktop.
Whateverable
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