We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The docs at doc/doc/Language/operators.pod6:478 state: %outer »+» %inner; only keys of %inner that exist in %outer will occur in the result
This is wrong, as can be tried out with a modified example
my %outer = 1, 2, 3 Z=> <a b c>; my %inner = 4, 1, 2 Z=> <v x z>; say %outer »~» %inner; -> Output is: {1 => ax, 2 => bz, 3 => c}
3 is not a key of %inner!
change "only keys of %inner that exist in %outer will occur in the result" to "the keys of %outer will occur in the result"
The text was updated successfully, but these errors were encountered:
Will check. Thanks for the report.
Sorry, something went wrong.
No branches or pull requests
The problem
The docs at doc/doc/Language/operators.pod6:478 state:
%outer »+» %inner; only keys of %inner that exist in %outer will occur in the result
This is wrong, as can be tried out with a modified example
my %outer = 1, 2, 3 Z=> <a b c>;
my %inner = 4, 1, 2 Z=> <v x z>;
say %outer »~» %inner;
-> Output is: {1 => ax, 2 => bz, 3 => c}
3 is not a key of %inner!
Suggestions
change "only keys of %inner that exist in %outer will occur in the result" to "the keys of %outer will occur in the result"
The text was updated successfully, but these errors were encountered: