Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Re-purpose the method ^foo(...) { ... } syntax.
The existing design of it was out of line with the way Perl 6 evolved since then, and also not especially useful. This takes the syntax and enables its use for per-type meta-behavior specialization. This, as a special case, allows attaching extra metadata to the meta-object, which captures some aspect of what the syntax was originally specified to do. However, it maintains the distinction between objects and their meta-objects more strongly, which also fits better with the overall Perl 6 design.
- Loading branch information
Showing
1 changed file
with
46 additions
and
14 deletions.
There are no files selected for viewing
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