-
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make %h{;} slices with * non-assignable
Because a slice with * at any level, is non-deterministic. Making it die with an appropriate error message like: $ raku -e 'my %h; %h{*} = 42' Cannot assign to *, as the order of keys is non-deterministic would require mixing in some logic in the return List, or replacing any containers with custom containers that produce that error message. Which would incur a significant overhead for the case when no assignment is attempted.
- Loading branch information
Showing
1 changed file
with
16 additions
and
5 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