Skip to content
New issue

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

Type signature for Pair methods are out of date #4443

Open
ab5tract opened this issue Mar 23, 2024 · 0 comments
Open

Type signature for Pair methods are out of date #4443

ab5tract opened this issue Mar 23, 2024 · 0 comments
Labels
docs Documentation issue (primary issue type)

Comments

@ab5tract
Copy link
Contributor

Problem or new feature

For Pair, the kv, pairs, antipairs, keys, and valuesmethods are all indicated to return aListbut in reality they returnSeq`.

Also, unnecessary parentheses are included in several of the examples, eg my $p = (Raku => "d");

See: https://docs.raku.org/type/Pair

Suggestions

Adjust the documentation to reflect the Seq return values.

@ab5tract ab5tract added the docs Documentation issue (primary issue type) label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation issue (primary issue type)
Projects
None yet
Development

No branches or pull requests

1 participant